commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject [1/2] [math] Fixed checkstyle warning.
Date Mon, 01 Jun 2015 09:02:23 GMT
Repository: commons-math
Updated Branches:
  refs/heads/master 8be87e032 -> 12ec16006


Fixed checkstyle warning.

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

Branch: refs/heads/master
Commit: 5f5937fcc2dcf3bf49c1776d341189c557b2f01f
Parents: 8be87e0
Author: Luc Maisonobe <luc@apache.org>
Authored: Mon Jun 1 10:59:59 2015 +0200
Committer: Luc Maisonobe <luc@apache.org>
Committed: Mon Jun 1 10:59:59 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/commons/math4/util/ResizableDoubleArray.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/5f5937fc/src/main/java/org/apache/commons/math4/util/ResizableDoubleArray.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/util/ResizableDoubleArray.java b/src/main/java/org/apache/commons/math4/util/ResizableDoubleArray.java
index f5292c4..6377141 100644
--- a/src/main/java/org/apache/commons/math4/util/ResizableDoubleArray.java
+++ b/src/main/java/org/apache/commons/math4/util/ResizableDoubleArray.java
@@ -188,9 +188,9 @@ public class ResizableDoubleArray implements DoubleArray, Serializable
{
      * @since 2.2
      */
     public ResizableDoubleArray(double[] initialArray) {
-        this((initialArray == null || initialArray.length == 0 ?
+        this(initialArray == null || initialArray.length == 0 ?
               DEFAULT_INITIAL_CAPACITY :
-              initialArray.length),
+              initialArray.length,
              DEFAULT_EXPANSION_FACTOR,
              DEFAULT_CONTRACTION_DELTA + DEFAULT_EXPANSION_FACTOR,
              DEFAULT_EXPANSION_MODE,


Mime
View raw message