126 |
|
try { |
127 |
|
q.pop(); |
128 |
|
shouldThrow(); |
129 |
< |
} catch (NoSuchElementException success){ |
129 |
> |
} catch (NoSuchElementException success) { |
130 |
|
} |
131 |
|
} |
132 |
|
|
245 |
|
try { |
246 |
|
q.remove(); |
247 |
|
shouldThrow(); |
248 |
< |
} catch (NoSuchElementException success){ |
248 |
> |
} catch (NoSuchElementException success) { |
249 |
|
} |
250 |
|
} |
251 |
|
|
336 |
|
try { |
337 |
|
q.removeFirst(); |
338 |
|
shouldThrow(); |
339 |
< |
} catch (NoSuchElementException success){ |
339 |
> |
} catch (NoSuchElementException success) { |
340 |
|
} |
341 |
|
} |
342 |
|
|
477 |
|
l.add(new Object()); |
478 |
|
Object o[] = l.toArray(null); |
479 |
|
shouldThrow(); |
480 |
< |
} catch (NullPointerException success){} |
480 |
> |
} catch (NullPointerException success) {} |
481 |
|
} |
482 |
|
|
483 |
|
/** |
489 |
|
l.add(new Integer(5)); |
490 |
|
Object o[] = l.toArray(new String[10] ); |
491 |
|
shouldThrow(); |
492 |
< |
} catch (ArrayStoreException success){} |
492 |
> |
} catch (ArrayStoreException success) {} |
493 |
|
} |
494 |
|
|
495 |
|
/** |