scolebourne    2005/01/03 16:01:31

  Modified:    collections RELEASE-NOTES.html
               collections/src/java/org/apache/commons/collections/set
                        ListOrderedSet.java
  Log:
  Clarify comment on ListOrderedSet
  bug 32073
  
  Revision  Changes    Path
  1.75      +1 -0      jakarta-commons/collections/RELEASE-NOTES.html
  
  Index: RELEASE-NOTES.html
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/RELEASE-NOTES.html,v
  retrieving revision 1.74
  retrieving revision 1.75
  diff -u -r1.74 -r1.75
  --- RELEASE-NOTES.html        3 Jan 2005 23:53:48 -0000       1.74
  +++ RELEASE-NOTES.html        4 Jan 2005 00:01:31 -0000       1.75
  @@ -57,6 +57,7 @@
   <center><h3>JAVADOC</h3></center>
   <ul>
   <li>MapUtils.safeAddToMap - Better comment</li>
  +<li>ListOrderedSet.decorate(List) - Better comment [32073]</li>
   </ul>
   </body>
   </html>
  
  
  
  1.10      +7 -2      
jakarta-commons/collections/src/java/org/apache/commons/collections/set/ListOrderedSet.java
  
  Index: ListOrderedSet.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/set/ListOrderedSet.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ListOrderedSet.java       7 Jun 2004 21:42:12 -0000       1.9
  +++ ListOrderedSet.java       4 Jan 2005 00:01:31 -0000       1.10
  @@ -1,5 +1,5 @@
   /*
  - *  Copyright 2003-2004 The Apache Software Foundation
  + *  Copyright 2003-2005 The Apache Software Foundation
    *
    *  Licensed under the Apache License, Version 2.0 (the "License");
    *  you may not use this file except in compliance with the License.
  @@ -59,6 +59,8 @@
   
       /**
        * Factory method to create an ordered set specifying the list and set 
to use.
  +     * <p>
  +     * The list and set must both be empty.
        * 
        * @param set  the set to decorate, must be empty and not null
        * @param list  the list to decorate, must be empty and not null
  @@ -95,6 +97,9 @@
        * Factory method to create an ordered set using the supplied list to 
retain order.
        * <p>
        * A <code>HashSet</code> is used for the set behaviour.
  +     * <p>
  +     * NOTE: If the list contains duplicates, the duplicates are removed,
  +     * altering the specified list.
        * 
        * @param list  the list to decorate, must not be null
        * @throws IllegalArgumentException if list is null
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to