--- jsr166/src/test/loops/SetBash.java 2005/05/02 19:19:38 1.1 +++ jsr166/src/test/loops/SetBash.java 2009/11/02 23:42:46 1.3 @@ -1,3 +1,8 @@ +/* + * Written by Doug Lea and Josh Bloch with assistance from members of + * JCP JSR-166 Expert Group and released to the public domain, as + * explained at http://creativecommons.org/licenses/publicdomain + */ import java.util.*; public class SetBash { @@ -10,7 +15,7 @@ public class SetBash { try { cl = Class.forName(args[0]); - } catch(ClassNotFoundException e) { + } catch (ClassNotFoundException e) { fail("Class " + args[0] + " not found."); } @@ -93,7 +98,7 @@ public class SetBash { if (!s.isEmpty()) fail("New instance non empty."); return s; - } catch(Throwable t) { + } catch (Throwable t) { fail("Can't instantiate " + cl + ": " + t); } return null; //Shut up compiler.