diff --git a/src/main/java/org/apache/commons/math3/linear/AbstractRealMatrix.java b/src/main/java/org/apache/commons/math3/linear/AbstractRealMatrix.java index 769d3b782..d1a8bf09a 100644 --- a/src/main/java/org/apache/commons/math3/linear/AbstractRealMatrix.java +++ b/src/main/java/org/apache/commons/math3/linear/AbstractRealMatrix.java @@ -73,9 +73,6 @@ public abstract class AbstractRealMatrix } } - /** {@inheritDoc} */ - public abstract RealMatrix copy(); - /** {@inheritDoc} */ public RealMatrix add(RealMatrix m) throws MatrixDimensionMismatchException { diff --git a/src/main/java/org/apache/commons/math3/linear/Array2DRowRealMatrix.java b/src/main/java/org/apache/commons/math3/linear/Array2DRowRealMatrix.java index 782f15e55..436db7ac7 100644 --- a/src/main/java/org/apache/commons/math3/linear/Array2DRowRealMatrix.java +++ b/src/main/java/org/apache/commons/math3/linear/Array2DRowRealMatrix.java @@ -145,7 +145,6 @@ public class Array2DRowRealMatrix extends AbstractRealMatrix implements Serializ } /** {@inheritDoc} */ - @Override public RealMatrix copy() { return new Array2DRowRealMatrix(copyOut(), false); } diff --git a/src/main/java/org/apache/commons/math3/linear/BlockRealMatrix.java b/src/main/java/org/apache/commons/math3/linear/BlockRealMatrix.java index c7f6391ec..a40950ef8 100644 --- a/src/main/java/org/apache/commons/math3/linear/BlockRealMatrix.java +++ b/src/main/java/org/apache/commons/math3/linear/BlockRealMatrix.java @@ -271,7 +271,6 @@ public class BlockRealMatrix extends AbstractRealMatrix implements Serializable } /** {@inheritDoc} */ - @Override public BlockRealMatrix copy() { // create an empty matrix BlockRealMatrix copied = new BlockRealMatrix(rows, columns); diff --git a/src/main/java/org/apache/commons/math3/linear/OpenMapRealMatrix.java b/src/main/java/org/apache/commons/math3/linear/OpenMapRealMatrix.java index ef16fd8d9..4177dca51 100644 --- a/src/main/java/org/apache/commons/math3/linear/OpenMapRealMatrix.java +++ b/src/main/java/org/apache/commons/math3/linear/OpenMapRealMatrix.java @@ -69,7 +69,6 @@ public class OpenMapRealMatrix extends AbstractRealMatrix } /** {@inheritDoc} */ - @Override public OpenMapRealMatrix copy() { return new OpenMapRealMatrix(this); }