[cp-patches] FYI: CopyOnWriteArrayList fixlets

Mario Torre neugens at limasoftware.net
Fri Nov 23 21:28:56 UTC 2007


I'm committing this one. It fixes few methods on CopyOnWriteArrayList
and also improves performances in a couple of points (not much, to be
honest).

Mauve tests will follow shortly.

Thanks,
Mario

2007-11-23  Mario Torre  <neugens at limasoftware.net>

	* java/util/concurrent/CopyOnWriteArrayList.java: 
	Added javadoc.
	(serialVersionUID): new field. 
	(iterator): new method, override from base class.
	(remove): likewise.
	(listIterator): likewise.
	(removeAll): likewise.
	(retainAll): likewise.
	(contains): fixed typo in javadoc.
	(addIfAbsent): added javadoc.
	(addAllAbsent): Rewrite to improve performance. Also add javadoc.

-- 
Lima Software - http://www.limasoftware.net/
GNU Classpath Developer - http://www.classpath.org/
Fedora Ambassador - http://fedoraproject.org/wiki/MarioTorre
Jabber: neugens at jabber.org
pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
Fingerprint: BA39 9666 94EC 8B73 27FA  FC7C 4086 63E3 80F2 40CF

Please, support open standards:
http://opendocumentfellowship.org/petition/
http://www.nosoftwarepatents.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2007-11-23-copy-on-write-array-list.patch
Type: text/x-patch
Size: 11833 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20071123/ba691765/2007-11-23-copy-on-write-array-list-0001.bin


More information about the Classpath-patches mailing list