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

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

# Line 396 | Line 396 | public class TreeSubMapTest extends JSR1
396              NavigableMap c = map5();
397              c.get(null);
398              shouldThrow();
399 <        } catch (NullPointerException e){}
399 >        } catch (NullPointerException e) {}
400      }
401  
402      /**
# Line 407 | Line 407 | public class TreeSubMapTest extends JSR1
407              NavigableMap c = map5();
408              c.containsKey(null);
409              shouldThrow();
410 <        } catch (NullPointerException e){}
410 >        } catch (NullPointerException e) {}
411      }
412  
413      /**
# Line 418 | Line 418 | public class TreeSubMapTest extends JSR1
418              NavigableMap c = map5();
419              c.put(null, "whatever");
420              shouldThrow();
421 <        } catch (NullPointerException e){}
421 >        } catch (NullPointerException e) {}
422      }
423  
424      /**
# Line 429 | Line 429 | public class TreeSubMapTest extends JSR1
429              NavigableMap c = map5();
430              c.remove(null);
431              shouldThrow();
432 <        } catch (NullPointerException e){}
432 >        } catch (NullPointerException e) {}
433      }
434  
435      /**
# Line 451 | Line 451 | public class TreeSubMapTest extends JSR1
451              assertEquals(q.size(), r.size());
452              assertTrue(q.equals(r));
453              assertTrue(r.equals(q));
454 <        } catch (Exception e){
454 >        } catch (Exception e) {
455              e.printStackTrace();
456              unexpectedException();
457          }
# Line 968 | Line 968 | public class TreeSubMapTest extends JSR1
968              NavigableMap c = dmap5();
969              c.get(null);
970              shouldThrow();
971 <        } catch (NullPointerException e){}
971 >        } catch (NullPointerException e) {}
972      }
973  
974      /**
# Line 979 | Line 979 | public class TreeSubMapTest extends JSR1
979              NavigableMap c = dmap5();
980              c.put(null, "whatever");
981              shouldThrow();
982 <        } catch (NullPointerException e){}
982 >        } catch (NullPointerException e) {}
983      }
984  
985      /**
# Line 1000 | Line 1000 | public class TreeSubMapTest extends JSR1
1000              assertEquals(q.size(), r.size());
1001              assertTrue(q.equals(r));
1002              assertTrue(r.equals(q));
1003 <        } catch (Exception e){
1003 >        } catch (Exception e) {
1004              e.printStackTrace();
1005              unexpectedException();
1006          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines