Remove deprecated copy method.

Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/261ceec8
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/261ceec8
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/261ceec8

Branch: refs/heads/master
Commit: 261ceec84be6140931846969b65ab5e765e5a44e
Parents: 6e36865
Author: tn <thomas.neidh...@gmail.com>
Authored: Thu Feb 19 09:54:58 2015 +0100
Committer: tn <thomas.neidh...@gmail.com>
Committed: Thu Feb 19 09:54:58 2015 +0100

----------------------------------------------------------------------
 .../math4/stat/descriptive/rank/Percentile.java   | 18 ------------------
 1 file changed, 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/261ceec8/src/main/java/org/apache/commons/math4/stat/descriptive/rank/Percentile.java
----------------------------------------------------------------------
diff --git 
a/src/main/java/org/apache/commons/math4/stat/descriptive/rank/Percentile.java 
b/src/main/java/org/apache/commons/math4/stat/descriptive/rank/Percentile.java
index 93640c5..3b6f065 100644
--- 
a/src/main/java/org/apache/commons/math4/stat/descriptive/rank/Percentile.java
+++ 
b/src/main/java/org/apache/commons/math4/stat/descriptive/rank/Percentile.java
@@ -21,7 +21,6 @@ import java.util.Arrays;
 import java.util.BitSet;
 
 import org.apache.commons.math4.exception.MathIllegalArgumentException;
-import org.apache.commons.math4.exception.MathUnsupportedOperationException;
 import org.apache.commons.math4.exception.NullArgumentException;
 import org.apache.commons.math4.exception.OutOfRangeException;
 import org.apache.commons.math4.exception.util.LocalizedFormats;
@@ -389,23 +388,6 @@ public class Percentile extends 
AbstractUnivariateStatistic implements Serializa
     }
 
     /**
-     * Copies source to dest.
-     * @param source Percentile to copy
-     * @param dest Percentile to copy to
-     * @exception MathUnsupportedOperationException always thrown since 3.4
-     * @deprecated as of 3.4 this method does not work anymore, as it fails to
-     * copy internal states between instances configured with different
-     * {@link EstimationType estimation type}, {@link NaNStrategy NaN handling 
strategies}
-     * and {@link KthSelector kthSelector}, it therefore always
-     * throw {@link MathUnsupportedOperationException}
-      */
-    @Deprecated
-    public static void copy(final Percentile source, final Percentile dest)
-        throws MathUnsupportedOperationException {
-        throw new MathUnsupportedOperationException();
-    }
-
-    /**
      * Get the work array to operate. Makes use of prior {@code storedData} if
      * it exists or else do a check on NaNs and copy a subset of the array
      * defined by begin and length parameters. The set {@link #nanStrategy} 
will

Reply via email to