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

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

# Line 581 | Line 581 | public class TreeMapTest extends JSR166T
581              TreeMap c = map5();
582              c.get(null);
583              shouldThrow();
584 <        } catch (NullPointerException e){}
584 >        } catch (NullPointerException e) {}
585      }
586  
587      /**
# Line 592 | Line 592 | public class TreeMapTest extends JSR166T
592              TreeMap c = map5();
593              c.containsKey(null);
594              shouldThrow();
595 <        } catch (NullPointerException e){}
595 >        } catch (NullPointerException e) {}
596      }
597  
598      /**
# Line 604 | Line 604 | public class TreeMapTest extends JSR166T
604              c.put("sadsdf", "asdads");
605              c.remove(null);
606              shouldThrow();
607 <        } catch (NullPointerException e){}
607 >        } catch (NullPointerException e) {}
608      }
609  
610      /**
# Line 625 | Line 625 | public class TreeMapTest extends JSR166T
625              assertEquals(q.size(), r.size());
626              assertTrue(q.equals(r));
627              assertTrue(r.equals(q));
628 <        } catch (Exception e){
628 >        } catch (Exception e) {
629              e.printStackTrace();
630              unexpectedException();
631          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines