commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/builder CompareToBuilder.java
Date Thu, 21 Aug 2003 15:13:09 GMT
ggregory    2003/08/21 08:13:09

  Modified:    lang/src/java/org/apache/commons/lang/builder
                        CompareToBuilder.java
  Log:
  Add @since 2.0 tags based on http://www.apache.org/~bayard/commons-lang-2.0/Commons-Lang-1.0.1-to-2.0/missingSinces.txt
  
  Revision  Changes    Path
  1.22      +7 -3      jakarta-commons/lang/src/java/org/apache/commons/lang/builder/CompareToBuilder.java
  
  Index: CompareToBuilder.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/builder/CompareToBuilder.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- CompareToBuilder.java	18 Aug 2003 02:22:24 -0000	1.21
  +++ CompareToBuilder.java	21 Aug 2003 15:13:09 -0000	1.22
  @@ -232,6 +232,7 @@
        *  (but not both) is <code>null</code>
        * @throws ClassCastException  if <code>rhs</code> is not assignment-compatible
        *  with <code>lhs</code>
  +     * @since 2.0
        */
       public static int reflectionCompare(Object lhs, Object rhs, boolean compareTransients,
Class reflectUpToClass) {
           if (lhs == rhs) {
  @@ -295,6 +296,7 @@
        *
        * @param superCompareTo  result of calling <code>super.compareTo(Object)</code>
        * @return this - used to chain append calls
  +     * @since 2.0
        */
       public CompareToBuilder appendSuper(int superCompareTo) {
           if (comparison != 0) {
  @@ -351,6 +353,7 @@
        * @return this - used to chain append calls
        * @throws ClassCastException  if <code>rhs</code> is not assignment-compatible
        *  with <code>lhs</code>
  +     * @since 2.0
        */
       public CompareToBuilder append(Object lhs, Object rhs, Comparator comparator) {
           if (comparison != 0) {
  @@ -594,8 +597,9 @@
        *  <code>null</code> means to treat <code>lhs</code> elements
as <code>Comparable</code>.
        * @return this - used to chain append calls
        * @throws ClassCastException  if <code>rhs</code> is not assignment-compatible
  -       *  with <code>lhs</code>
  -       */
  +     *  with <code>lhs</code>
  +     * @since 2.0
  +     */
       public CompareToBuilder append(Object[] lhs, Object[] rhs, Comparator comparator) {
           if (comparison != 0) {
               return this;
  
  
  

Mime
View raw message