commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1174092 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java
Date Thu, 22 Sep 2011 12:35:47 GMT
Author: erans
Date: Thu Sep 22 12:35:47 2011
New Revision: 1174092

URL: http://svn.apache.org/viewvc?rev=1174092&view=rev
Log:
Minor fixes (Javadoc formatting).

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java?rev=1174092&r1=1174091&r2=1174092&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/MathUtils.java Thu
Sep 22 12:35:47 2011
@@ -1949,13 +1949,14 @@ public final class MathUtils {
         /** Constant for decreasing direction. */
         DECREASING
     }
-     /**
-     * Check that an array is monotone increasing or decreasing
+
+    /**
+     * Check that an array is monotone increasing or decreasing.
      *
      * @param val Values.
      * @param dir Ordering direction.
      * @param strict Whether the order should be strict.
-     * @return {@code true} if sorted, {@code false} otherwise
+     * @return {@code true} if sorted, {@code false} otherwise.
      */
     public static boolean isMonotone(Comparable[] val,
                                      OrderDirection dir,
@@ -2000,12 +2001,12 @@ public final class MathUtils {
     }
 
     /**
-     * Check that an array is monotone increasing or decreasing
+     * Check that an array is monotone increasing or decreasing.
      *
      * @param val Values.
      * @param dir Ordering direction.
      * @param strict Whether the order should be strict.
-     * @return {@code true} if sorted, {@code false} otherwise
+     * @return {@code true} if sorted, {@code false} otherwise.
      */
     public static boolean isMonotone(double[] val,
                                      OrderDirection dir,



Mime
View raw message