ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/LinkedListTest.java
(Generate patch)

Comparing jsr166/src/test/tck/LinkedListTest.java (file contents):
Revision 1.11 by jsr166, Mon Nov 16 04:57:10 2009 UTC vs.
Revision 1.12 by jsr166, Mon Nov 16 05:30:07 2009 UTC

# Line 183 | Line 183 | public class LinkedListTest extends JSR1
183              m.add(new Object());
184              l.addAll(-1,m);
185              shouldThrow();
186 <        } catch (IndexOutOfBoundsException  success){}
186 >        } catch (IndexOutOfBoundsException  success) {}
187      }
188  
189      /**
# Line 238 | Line 238 | public class LinkedListTest extends JSR1
238          try {
239              q.remove();
240              shouldThrow();
241 <        } catch (NoSuchElementException success){
241 >        } catch (NoSuchElementException success) {
242          }
243      }
244  
# Line 364 | Line 364 | public class LinkedListTest extends JSR1
364              l.add(new Object());
365              Object o[] = l.toArray(null);
366              shouldThrow();
367 <        } catch (NullPointerException success){}
367 >        } catch (NullPointerException success) {}
368      }
369  
370      /**
# Line 376 | Line 376 | public class LinkedListTest extends JSR1
376              l.add(new Integer(5));
377              Object o[] = l.toArray(new String[10] );
378              shouldThrow();
379 <        } catch (ArrayStoreException  success){}
379 >        } catch (ArrayStoreException  success) {}
380      }
381  
382      /**
# Line 522 | Line 522 | public class LinkedListTest extends JSR1
522          try {
523              q.pop();
524              shouldThrow();
525 <        } catch (NoSuchElementException success){
525 >        } catch (NoSuchElementException success) {
526          }
527      }
528  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines