commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r1153346 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java
Date Wed, 03 Aug 2011 04:59:46 GMT
Author: bayard
Date: Wed Aug  3 04:59:46 2011
New Revision: 1153346

URL: http://svn.apache.org/viewvc?rev=1153346&view=rev
Log:
Added missing @since 3.0.1 tags

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java?rev=1153346&r1=1153345&r2=1153346&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java Wed
Aug  3 04:59:46 2011
@@ -424,6 +424,7 @@ public class ObjectUtils {
      * @return T at middle position
      * @throws NullPointerException if items is {@code null}
      * @throws IllegalArgumentException if items is empty or contains {@code null} values
+     * @since 3.0.1
      */
     public static <T extends Comparable<? super T>> T median(T... items) {
         Validate.notEmpty(items);
@@ -444,6 +445,7 @@ public class ObjectUtils {
      * @return T at middle position
      * @throws NullPointerException if items or comparator is {@code null}
      * @throws IllegalArgumentException if items is empty or contains {@code null} values
+     * @since 3.0.1
      */
     public static <T> T median(Comparator<T> comparator, T... items) {
         Validate.notEmpty(items, "null/empty items");
@@ -464,6 +466,7 @@ public class ObjectUtils {
      * @param <T>
      * @param items to check
      * @return most populous T, {@code null} if non-unique or no items supplied
+     * @since 3.0.1
      */
     public static <T> T mode(T... items) {
         if (ArrayUtils.isNotEmpty(items)) {



Mime
View raw message