commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1592587 - in /commons/proper/lang/trunk/src: changes/changes.xml main/java/org/apache/commons/lang3/math/NumberUtils.java
Date Mon, 05 May 2014 17:48:49 GMT
Author: britter
Date: Mon May  5 17:48:48 2014
New Revision: 1592587

URL: http://svn.apache.org/r1592587
Log:
LANG-1007: Fixing NumberUtils JAVADoc comments for max methods. This also fixes pull request
#22 from github. Thanks to Thiago Andrade.

Modified:
    commons/proper/lang/trunk/src/changes/changes.xml
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java

Modified: commons/proper/lang/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/changes/changes.xml?rev=1592587&r1=1592586&r2=1592587&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/changes/changes.xml [utf-8] (original)
+++ commons/proper/lang/trunk/src/changes/changes.xml [utf-8] Mon May  5 17:48:48 2014
@@ -22,6 +22,7 @@
   <body>
 
   <release version="3.4" date="tba" description="tba">
+    <action issue="LANG-1007" type="update" dev="britter" due-to="Thiago Andrade">Fixing
NumberUtils JAVADoc comments for max methods</action>
   	<action issue="LANG-731" type="update" dev="djones">Better Javadoc for BitField
class</action>
     <action issue="LANG-1004" type="update" dev="britter" due-to="Michael Osipov">DurationFormatUtils#formatDurationHMS
implementation does not correspond to Javadoc and vice versa</action>
     <action issue="LANG-1003" type="update" dev="britter">DurationFormatUtils are not
able to handle negative durations/periods</action>

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java?rev=1592587&r1=1592586&r2=1592587&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
(original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
Mon May  5 17:48:48 2014
@@ -929,7 +929,7 @@ public class NumberUtils {
      * <p>Returns the maximum value in an array.</p>
      * 
      * @param array  an array, must not be null or empty
-     * @return the minimum value in the array
+     * @return the maximum value in the array
      * @throws IllegalArgumentException if <code>array</code> is <code>null</code>
      * @throws IllegalArgumentException if <code>array</code> is empty
      */
@@ -952,7 +952,7 @@ public class NumberUtils {
      * <p>Returns the maximum value in an array.</p>
      * 
      * @param array  an array, must not be null or empty
-     * @return the minimum value in the array
+     * @return the maximum value in the array
      * @throws IllegalArgumentException if <code>array</code> is <code>null</code>
      * @throws IllegalArgumentException if <code>array</code> is empty
      */
@@ -975,7 +975,7 @@ public class NumberUtils {
      * <p>Returns the maximum value in an array.</p>
      * 
      * @param array  an array, must not be null or empty
-     * @return the minimum value in the array
+     * @return the maximum value in the array
      * @throws IllegalArgumentException if <code>array</code> is <code>null</code>
      * @throws IllegalArgumentException if <code>array</code> is empty
      */
@@ -998,7 +998,7 @@ public class NumberUtils {
      * <p>Returns the maximum value in an array.</p>
      * 
      * @param array  an array, must not be null or empty
-     * @return the minimum value in the array
+     * @return the maximum value in the array
      * @throws IllegalArgumentException if <code>array</code> is <code>null</code>
      * @throws IllegalArgumentException if <code>array</code> is empty
      */
@@ -1021,7 +1021,7 @@ public class NumberUtils {
      * <p>Returns the maximum value in an array.</p>
      * 
      * @param array  an array, must not be null or empty
-     * @return the minimum value in the array
+     * @return the maximum value in the array
      * @throws IllegalArgumentException if <code>array</code> is <code>null</code>
      * @throws IllegalArgumentException if <code>array</code> is empty
      * @see IEEE754rUtils#max(double[]) IEEE754rUtils for a version of this method that handles
NaN differently
@@ -1048,7 +1048,7 @@ public class NumberUtils {
      * <p>Returns the maximum value in an array.</p>
      * 
      * @param array  an array, must not be null or empty
-     * @return the minimum value in the array
+     * @return the maximum value in the array
      * @throws IllegalArgumentException if <code>array</code> is <code>null</code>
      * @throws IllegalArgumentException if <code>array</code> is empty
      * @see IEEE754rUtils#max(float[]) IEEE754rUtils for a version of this method that handles
NaN differently



Mime
View raw message