CVSROOT:        /sources/classpath
Module name:    classpath
Changes by:     Mario Torre <neugens>   08/03/26 16:07:30

Modified files:
        java/util/concurrent: CopyOnWriteArrayList.java 
        .              : ChangeLog 

Log message:
        2008-03-26  Mario Torre  <[EMAIL PROTECTED]>
        
            * java/util/concurrent/CopyOnWriteArrayList.java (SubList.set): 
            (SubList.clear): new method.
            (SubList.checkMod): fix indentation.
            (SubList.checkBoundsInclusive):  likewise. 
            (SubList.checkBoundsExclusive): likewise.
            (SubList): added synchronization. Now throw
            IndexOutOfBoundsException instead of IllegalArgumentException
            when index are out of range.
            (SubList.size): added synchronization.
            (SubList.get): likewise.
            (SubList.listIterator): fixed indentation.
            (SubList.set): added synchronization. Update the state of the 
storage
            after modification.
            (SubList.add): likewise.
            (SubList.remove): likewise.
            (SubList.addAll): likewise.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/java/util/concurrent/CopyOnWriteArrayList.java?cvsroot=classpath&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9567&r2=1.9568


Reply via email to