commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath java/util/concurrent/CopyOnWriteArray...


From: Mario Torre
Subject: [commit-cp] classpath java/util/concurrent/CopyOnWriteArray...
Date: Wed, 26 Mar 2008 16:07:30 +0000

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  <address@hidden>
        
            * 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

[Prev in Thread] Current Thread [Next in Thread]