commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/comparators BooleanComparator.java
Date Sun, 16 May 2004 11:56:47 GMT
scolebourne    2004/05/16 04:56:47

  Modified:    collections/src/java/org/apache/commons/collections/comparators
                        BooleanComparator.java
  Log:
  Add serialization version
  
  Revision  Changes    Path
  1.14      +6 -4      jakarta-commons/collections/src/java/org/apache/commons/collections/comparators/BooleanComparator.java
  
  Index: BooleanComparator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/comparators/BooleanComparator.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- BooleanComparator.java	15 May 2004 13:24:11 -0000	1.13
  +++ BooleanComparator.java	16 May 2004 11:56:47 -0000	1.14
  @@ -19,7 +19,8 @@
   import java.util.Comparator;
   
   /**
  - * A {@link Comparator} for {@link Boolean} objects.
  + * A {@link Comparator} for {@link Boolean} objects that can sort either
  + * true or false first.
    * <p>
    * @see #getTrueFirstComparator()
    * @see #getFalseFirstComparator()
  @@ -31,8 +32,9 @@
    * @author Rodney Waldhoff
    */
   public final class BooleanComparator implements Comparator, Serializable {
  -    
  -    // TODO: Serialization version
  +
  +    /** Serialization version. */
  +    private static final long serialVersionUID = 1830042991606340609L;
   
       /** Constant "true first" reference. */
       private static final BooleanComparator TRUE_FIRST = new BooleanComparator(true);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message