Use Java 5 LinkedList API, not Java 6. Note that removeFirstOccurrence(Object) delegates to remove(Object) in Java 6.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1199798 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
67d4ef2e92
commit
3ca916f3e4
|
@ -55,7 +55,7 @@ public class ReflectionToStringBuilderMutateInspectConcurrencyTest {
|
|||
}
|
||||
|
||||
public synchronized void delete() {
|
||||
listField.removeFirstOccurrence(Integer.valueOf(random.nextInt(N)));
|
||||
listField.remove(Integer.valueOf(random.nextInt(N)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue