Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 95433 invoked from network); 7 May 2003 12:18:58 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 7 May 2003 12:18:58 -0000 Received: (qmail 7248 invoked by uid 97); 7 May 2003 12:21:00 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@nagoya.betaversion.org Received: (qmail 7241 invoked from network); 7 May 2003 12:21:00 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 7 May 2003 12:21:00 -0000 Received: (qmail 95161 invoked by uid 500); 7 May 2003 12:18:55 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 95148 invoked by uid 500); 7 May 2003 12:18:55 -0000 Received: (qmail 95145 invoked from network); 7 May 2003 12:18:55 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 7 May 2003 12:18:55 -0000 Received: (qmail 59565 invoked by uid 1529); 7 May 2003 12:18:55 -0000 Date: 7 May 2003 12:18:55 -0000 Message-ID: <20030507121855.59564.qmail@icarus.apache.org> From: scolebourne@apache.org To: jakarta-commons-cvs@apache.org Subject: cvs commit: jakarta-commons/collections/src/java/org/apache/commons/collections/decorators SynchronizedSet.java SynchronizedCollection.java UnmodifiableCollection.java SynchronizedList.java SynchronizedSortedSet.java FixedSizeList.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N scolebourne 2003/05/07 05:18:55 Modified: collections/src/java/org/apache/commons/collections/decorators SynchronizedSet.java SynchronizedCollection.java UnmodifiableCollection.java SynchronizedList.java SynchronizedSortedSet.java FixedSizeList.java Log: Javadoc improvements Revision Changes Path 1.2 +4 -3 jakarta-commons/collections/src/java/org/apache/commons/collections/decorators/SynchronizedSet.java Index: SynchronizedSet.java =================================================================== RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/decorators/SynchronizedSet.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- SynchronizedSet.java 7 May 2003 11:19:46 -0000 1.1 +++ SynchronizedSet.java 7 May 2003 12:18:55 -0000 1.2 @@ -60,7 +60,8 @@ import java.util.Set; /** - * SynchronizedSet decorates another Set. + * SynchronizedSet decorates another Set + * to synchronize its behaviour for a multi-threaded environment. *

* Methods are synchronized, then forwarded to the decorated set. * 1.3 +3 -3 jakarta-commons/collections/src/java/org/apache/commons/collections/decorators/SynchronizedCollection.java Index: SynchronizedCollection.java =================================================================== RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/decorators/SynchronizedCollection.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- SynchronizedCollection.java 7 May 2003 11:20:21 -0000 1.2 +++ SynchronizedCollection.java 7 May 2003 12:18:55 -0000 1.3 @@ -62,7 +62,7 @@ /** * SynchronizedCollection decorates another Collection - * to synchronize the method calls. + * to synchronize its behaviour for a multi-threaded environment. *

* Iterators must be manually synchronized: *

  
  
  
  1.4       +4 -7      jakarta-commons/collections/src/java/org/apache/commons/collections/decorators/UnmodifiableCollection.java
  
  Index: UnmodifiableCollection.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/decorators/UnmodifiableCollection.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- UnmodifiableCollection.java	7 May 2003 11:20:21 -0000	1.3
  +++ UnmodifiableCollection.java	7 May 2003 12:18:55 -0000	1.4
  @@ -63,11 +63,8 @@
   import org.apache.commons.collections.IteratorUtils;
   
   /**
  - * PredicatedCollection decorates another Collection
  - * to validate addition match a specified predicate.
  - * 

- * If an object cannot be addded to the collection, an IllegalArgumentException - * is thrown. + * UnmodifiableCollection decorates another Collection + * to ensure it can't be altered. * * @since Commons Collections 3.0 * @version $Revision$ $Date$ 1.4 +4 -3 jakarta-commons/collections/src/java/org/apache/commons/collections/decorators/SynchronizedList.java Index: SynchronizedList.java =================================================================== RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/decorators/SynchronizedList.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- SynchronizedList.java 7 May 2003 11:20:21 -0000 1.3 +++ SynchronizedList.java 7 May 2003 12:18:55 -0000 1.4 @@ -62,7 +62,8 @@ import java.util.ListIterator; /** - * SynchronizedList decorates another List. + * SynchronizedList decorates another List + * to synchronize its behaviour for a multi-threaded environment. *

* Methods are synchronized, then forwarded to the decorated list. * 1.2 +4 -3 jakarta-commons/collections/src/java/org/apache/commons/collections/decorators/SynchronizedSortedSet.java Index: SynchronizedSortedSet.java =================================================================== RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/decorators/SynchronizedSortedSet.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- SynchronizedSortedSet.java 7 May 2003 11:19:46 -0000 1.1 +++ SynchronizedSortedSet.java 7 May 2003 12:18:55 -0000 1.2 @@ -61,7 +61,8 @@ import java.util.SortedSet; /** - * SynchronizedSortedSet decorates another SortedSet. + * SynchronizedSortedSet decorates another SortedSet + * to synchronize its behaviour for a multi-threaded environment. *

* Methods are synchronized, then forwarded to the decorated set. * 1.4 +4 -4 jakarta-commons/collections/src/java/org/apache/commons/collections/decorators/FixedSizeList.java Index: FixedSizeList.java =================================================================== RCS file: /home/cvs/jakarta-commons/collections/src/java/org/apache/commons/collections/decorators/FixedSizeList.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- FixedSizeList.java 7 May 2003 11:20:21 -0000 1.3 +++ FixedSizeList.java 7 May 2003 12:18:55 -0000 1.4 @@ -62,8 +62,8 @@ import java.util.ListIterator; /** - * FixedSizeList decorates another List to - * fix the size. + * FixedSizeList decorates another List + * to fix the size. *

* The add, remove, clear and retain operations are unsupported. * The set method is allowed (as it doesn't change the list size). --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org