Use caches.
This commit is contained in:
parent
473bb29aea
commit
e21ed0b99b
|
@ -430,18 +430,18 @@ public abstract class AbstractCollectionTest<E> extends AbstractObjectTest {
|
||||||
"Three",
|
"Three",
|
||||||
Integer.valueOf(4),
|
Integer.valueOf(4),
|
||||||
"One",
|
"One",
|
||||||
new Double(5),
|
Double.valueOf(5),
|
||||||
new Float(6),
|
Float.valueOf(6),
|
||||||
"Seven",
|
"Seven",
|
||||||
"Eight",
|
"Eight",
|
||||||
"Nine",
|
"Nine",
|
||||||
Integer.valueOf(10),
|
Integer.valueOf(10),
|
||||||
new Short((short) 11),
|
Short.valueOf((short) 11),
|
||||||
new Long(12),
|
Long.valueOf(12),
|
||||||
"Thirteen",
|
"Thirteen",
|
||||||
"14",
|
"14",
|
||||||
"15",
|
"15",
|
||||||
new Byte((byte) 16)
|
Byte.valueOf((byte) 16)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -454,13 +454,13 @@ public abstract class AbstractCollectionTest<E> extends AbstractObjectTest {
|
||||||
public E[] getOtherNonNullElements() {
|
public E[] getOtherNonNullElements() {
|
||||||
return (E[]) new Object[] {
|
return (E[]) new Object[] {
|
||||||
Integer.valueOf(0),
|
Integer.valueOf(0),
|
||||||
new Float(0),
|
Float.valueOf(0),
|
||||||
new Double(0),
|
Double.valueOf(0),
|
||||||
"Zero",
|
"Zero",
|
||||||
new Short((short) 0),
|
Short.valueOf((short) 0),
|
||||||
new Byte((byte) 0),
|
Byte.valueOf((byte) 0),
|
||||||
new Long(0),
|
Long.valueOf(0),
|
||||||
new Character('\u0000'),
|
Character.valueOf('\u0000'),
|
||||||
"0"
|
"0"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue