diff --git a/src/java/org/apache/commons/lang/builder/CompareToBuilder.java b/src/java/org/apache/commons/lang/builder/CompareToBuilder.java index 7ee5f8594..878a32483 100644 --- a/src/java/org/apache/commons/lang/builder/CompareToBuilder.java +++ b/src/java/org/apache/commons/lang/builder/CompareToBuilder.java @@ -119,7 +119,7 @@ import org.apache.commons.lang.math.NumberUtils; * @author Gary Gregory * @author Pete Gieser * @since 1.0 - * @version $Id: CompareToBuilder.java,v 1.21 2003/08/18 02:22:24 bayard Exp $ + * @version $Id: CompareToBuilder.java,v 1.22 2003/08/21 15:13:09 ggregory Exp $ */ public class CompareToBuilder { @@ -232,6 +232,7 @@ public class CompareToBuilder { * (but not both) is null * @throws ClassCastException if rhs is not assignment-compatible * with lhs + * @since 2.0 */ public static int reflectionCompare(Object lhs, Object rhs, boolean compareTransients, Class reflectUpToClass) { if (lhs == rhs) { @@ -295,6 +296,7 @@ public class CompareToBuilder { * * @param superCompareTo result of calling super.compareTo(Object) * @return this - used to chain append calls + * @since 2.0 */ public CompareToBuilder appendSuper(int superCompareTo) { if (comparison != 0) { @@ -351,6 +353,7 @@ public class CompareToBuilder { * @return this - used to chain append calls * @throws ClassCastException if rhs is not assignment-compatible * with lhs + * @since 2.0 */ public CompareToBuilder append(Object lhs, Object rhs, Comparator comparator) { if (comparison != 0) { @@ -594,8 +597,9 @@ public class CompareToBuilder { * null means to treat lhs elements as Comparable. * @return this - used to chain append calls * @throws ClassCastException if rhs is not assignment-compatible - * with lhs - */ + * with lhs + * @since 2.0 + */ public CompareToBuilder append(Object[] lhs, Object[] rhs, Comparator comparator) { if (comparison != 0) { return this;