Simplify
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1470346 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b555f1d127
commit
6d1945c8ed
|
@ -337,12 +337,12 @@ public class ListOrderedMapTest<K, V> extends AbstractOrderedMapTest<K, V> {
|
||||||
|
|
||||||
final int size = 5;
|
final int size = 5;
|
||||||
for (int i = 0; i < size; i++) {
|
for (int i = 0; i < size; i++) {
|
||||||
lom.put((K) Integer.valueOf(i), (V) Boolean.valueOf(true));
|
lom.put((K) Integer.valueOf(i), (V) Boolean.TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
final Map<K, V> map = new TreeMap<K, V>();
|
final Map<K, V> map = new TreeMap<K, V>();
|
||||||
for (int i = 0; i < size; i++) {
|
for (int i = 0; i < size; i++) {
|
||||||
map.put((K) Integer.valueOf(i), (V) Boolean.valueOf(false));
|
map.put((K) Integer.valueOf(i), (V) Boolean.FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
lom.putAll(3, map);
|
lom.putAll(3, map);
|
||||||
|
|
Loading…
Reference in New Issue