179 |
|
new Fun(){void f(){ it.next(); }}); |
180 |
|
|
181 |
|
try { it.remove(); } |
182 |
< |
catch (IllegalStateException _) { pass(); } |
183 |
< |
catch (UnsupportedOperationException _) { pass(); } |
182 |
> |
catch (IllegalStateException ignored) { pass(); } |
183 |
> |
catch (UnsupportedOperationException ignored) { pass(); } |
184 |
|
catch (Throwable t) { unexpected(t); } |
185 |
|
|
186 |
|
if (rnd.nextBoolean()) |
252 |
|
testEmptyCollection(m.values()); |
253 |
|
|
254 |
|
try { check(! m.containsValue(null)); } |
255 |
< |
catch (NullPointerException _) { /* OK */ } |
255 |
> |
catch (NullPointerException ignored) { /* OK */ } |
256 |
|
try { check(! m.containsKey(null)); } |
257 |
< |
catch (NullPointerException _) { /* OK */ } |
257 |
> |
catch (NullPointerException ignored) { /* OK */ } |
258 |
|
check(! m.containsValue(1)); |
259 |
|
check(! m.containsKey(1)); |
260 |
|
} |
684 |
|
l.addAll(-1, Collections.<Integer>emptyList()); |
685 |
|
fail("Expected IndexOutOfBoundsException not thrown"); |
686 |
|
} |
687 |
< |
catch (UnsupportedOperationException _) {/* OK */} |
688 |
< |
catch (IndexOutOfBoundsException _) {/* OK */} |
687 |
> |
catch (UnsupportedOperationException ignored) {/* OK */} |
688 |
> |
catch (IndexOutOfBoundsException ignored) {/* OK */} |
689 |
|
catch (Throwable t) { unexpected(t); } |
690 |
|
|
691 |
|
// equal(l instanceof Serializable, |