[Top][All Lists]
[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: |
Sat, 24 Nov 2007 22:31:08 +0000 |
CVSROOT: /sources/classpath
Module name: classpath
Changes by: Mario Torre <neugens> 07/11/24 22:31:08
Modified files:
java/util/concurrent: CopyOnWriteArrayList.java
. : ChangeLog
Log message:
2007-11-24 Mario Torre <address@hidden>
* java/util/concurrent/CopyOnWriteArrayList.java:
(addAll): fix implementation, now add elements in the correct
position.
(addAllAbsent): fixed typos (whoops!).
(remove(int)): fixed range in arraycopy that was causing for
incorrect
values to be inserted in the list. Refactored to give variables
better
names.
(remove(Object)): refactored to give better names to variable.
(listIterator): fix to set the starting index.
(listIterator.previous): fix to decrement element position before
returning the previous element in the iterator.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/java/util/concurrent/CopyOnWriteArrayList.java?cvsroot=classpath&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9439&r2=1.9440