commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [math] Trailing white-space. Javadoc.
Date Sat, 22 Aug 2015 13:28:49 GMT
Repository: commons-math
Updated Branches:
  refs/heads/master 72a46babe -> 1c194a0dc


Trailing white-space. Javadoc.


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

Branch: refs/heads/master
Commit: 1c194a0dccec3322036e741042761d46ae0d8a44
Parents: 72a46ba
Author: Gilles <erans@apache.org>
Authored: Sat Aug 22 15:27:42 2015 +0200
Committer: Gilles <erans@apache.org>
Committed: Sat Aug 22 15:27:42 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/commons/math4/util/MathArrays.java | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/1c194a0d/src/main/java/org/apache/commons/math4/util/MathArrays.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/util/MathArrays.java b/src/main/java/org/apache/commons/math4/util/MathArrays.java
index 3d8330f..2206a2c 100644
--- a/src/main/java/org/apache/commons/math4/util/MathArrays.java
+++ b/src/main/java/org/apache/commons/math4/util/MathArrays.java
@@ -452,7 +452,7 @@ public class MathArrays {
                                         int[] b) {
         checkEqualLength(a, b, true);
     }
-    
+
     /**
      * Check that the given array is sorted.
      *
@@ -766,22 +766,29 @@ public class MathArrays {
     }
 
     /**
-     * A helper data structure holding a double and an integer value.
+     * Helper data structure holding a (double, integer) pair.
      */
     private static class PairDoubleInteger {
-
+        /** Key */
         private final double key;
+        /** Value */
         private final int value;
 
+        /**
+         * @param key Key.
+         * @param value Value.
+         */
         public PairDoubleInteger(double key, int value) {
             this.key = key;
             this.value = value;
         }
 
+        /** @return the key. */
         public double getKey() {
             return key;
         }
 
+        /** @return the value. */
         public int getValue() {
             return value;
         }


Mime
View raw message