From e2bab1ae1303c114bf538fcb9373151e05a9e27c Mon Sep 17 00:00:00 2001 From: Sebastien Brisard Date: Wed, 26 Sep 2012 19:17:29 +0000 Subject: [PATCH] MATH-870: deprecated OpenMapRealVector, SparseRealVector. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1390684 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/commons/math3/linear/OpenMapRealVector.java | 6 +++++- .../org/apache/commons/math3/linear/SparseRealVector.java | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/math3/linear/OpenMapRealVector.java b/src/main/java/org/apache/commons/math3/linear/OpenMapRealVector.java index d7aa6f1cb..7279885e0 100644 --- a/src/main/java/org/apache/commons/math3/linear/OpenMapRealVector.java +++ b/src/main/java/org/apache/commons/math3/linear/OpenMapRealVector.java @@ -32,7 +32,11 @@ import org.apache.commons.math3.util.OpenIntToDoubleHashMap.Iterator; * {@link OpenIntToDoubleHashMap} backing store. * @version $Id$ * @since 2.0 -*/ + * @deprecated As of version 3.1, this class is deprecated, for reasons exposed + * in this JIRA + * ticket. + */ +@Deprecated public class OpenMapRealVector extends SparseRealVector implements Serializable { /** Default Tolerance for having a value considered zero. */ diff --git a/src/main/java/org/apache/commons/math3/linear/SparseRealVector.java b/src/main/java/org/apache/commons/math3/linear/SparseRealVector.java index 388f527a7..8e76df8b0 100644 --- a/src/main/java/org/apache/commons/math3/linear/SparseRealVector.java +++ b/src/main/java/org/apache/commons/math3/linear/SparseRealVector.java @@ -20,6 +20,10 @@ package org.apache.commons.math3.linear; * Marker class for RealVectors that require sparse backing storage * @version $Id$ * @since 2.0 + * @deprecated As of version 3.1, this class is deprecated, for reasons exposed + * in this JIRA + * ticket. * */ +@Deprecated public abstract class SparseRealVector extends RealVector {}