mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-09 11:34:55 +00:00
Use genercis.
This commit is contained in:
parent
22cd660c33
commit
faa24452b5
@ -134,7 +134,7 @@ public void testPairOfObjects() {
|
||||
assertTrue(pair2 instanceof ImmutablePair<?, ?>);
|
||||
assertNull(((ImmutablePair<Object, String>) pair2).left);
|
||||
assertEquals("bar", ((ImmutablePair<Object, String>) pair2).right);
|
||||
final Pair pair3 = Pair.of(null, null);
|
||||
final Pair<?, ?> pair3 = Pair.of(null, null);
|
||||
assertNull(pair3.getLeft());
|
||||
assertNull(pair3.getRight());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user