--- jsr166/src/test/loops/SetBash.java 2005/05/09 19:33:30 1.2 +++ jsr166/src/test/loops/SetBash.java 2009/11/02 23:51:32 1.4 @@ -15,7 +15,7 @@ public class SetBash { try { cl = Class.forName(args[0]); - } catch(ClassNotFoundException e) { + } catch (ClassNotFoundException e) { fail("Class " + args[0] + " not found."); } @@ -92,13 +92,13 @@ public class SetBash { static Set newSet(Class cl, boolean synch) { try { - Set s = (Set)cl.newInstance(); + Set s = (Set) cl.newInstance(); if (synch) s = Collections.synchronizedSet(s); 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.