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

Comparing jsr166/src/test/loops/SetBash.java (file contents):
Revision 1.2 by dl, Mon May 9 19:33:30 2005 UTC vs.
Revision 1.3 by jsr166, Mon Nov 2 23:42:46 2009 UTC

# Line 15 | Line 15 | public class SetBash {
15  
16          try {
17              cl = Class.forName(args[0]);
18 <        } catch(ClassNotFoundException e) {
18 >        } catch (ClassNotFoundException e) {
19              fail("Class " + args[0] + " not found.");
20          }
21  
# Line 98 | Line 98 | public class SetBash {
98              if (!s.isEmpty())
99                  fail("New instance non empty.");
100              return s;
101 <        } catch(Throwable t) {
101 >        } catch (Throwable t) {
102              fail("Can't instantiate " + cl + ": " + t);
103          }
104          return null; //Shut up compiler.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines