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

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

# Line 327 | Line 327 | public class PriorityQueueTest extends J
327          try {
328              q.remove();
329              shouldThrow();
330 <        } catch (NoSuchElementException success){
330 >        } catch (NoSuchElementException success) {
331          }
332      }
333  
# Line 506 | Line 506 | public class PriorityQueueTest extends J
506              assertEquals(q.size(), r.size());
507              while (!q.isEmpty())
508                  assertEquals(q.remove(), r.remove());
509 <        } catch (Exception e){
509 >        } catch (Exception e) {
510              unexpectedException();
511          }
512      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines