On 26/03/2008, Mario Torre <[EMAIL PROTECTED]> wrote: > This should fix the last stuff. Maybe the Iterator returned by this > subList needs some love too, but for now I'm happy. It passes all the > tck public domain tests :) > > I've just pushed a mauve test also. > > Ciao, > > Mario > > 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. > > > -- > Mario Torre, Software Developer, http://www.jroller.com/neugens/ > aicas Allerton Interworks Computer Automated Systems GmbH > Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany > http://www.aicas.com * Tel: +49-721-663 968-53 > pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF > Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF > > USt-Id: DE216375633, Handelsregister HRB 109481, AG Mannheim > Geschäftsführer: Dr. James J. Hunt > > Please, support open standards: > http://opendocumentfellowship.org/petition/ > http://www.nosoftwarepatents.com/ > -- > Mario Torre, Software Developer, http://www.jroller.com/neugens/ > aicas Allerton Interworks Computer Automated Systems GmbH > Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany > http://www.aicas.com * Tel: +49-721-663 968-53 > pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF > Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF > > USt-Id: DE216375633, Handelsregister HRB 109481, AG Mannheim > Geschäftsführer: Dr. James J. Hunt > > Please, support open standards: > http://opendocumentfellowship.org/petition/ > http://www.nosoftwarepatents.com/ > >
Looks good. Thanks. -- Andrew :-) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8