--- jsr166/src/test/tck/ThreadLocalRandomTest.java 2009/08/04 10:04:47 1.3 +++ jsr166/src/test/tck/ThreadLocalRandomTest.java 2009/11/21 21:02:14 1.5 @@ -11,10 +11,10 @@ import java.util.*; public class ThreadLocalRandomTest extends JSR166TestCase { public static void main(String[] args) { - junit.textui.TestRunner.run (suite()); + junit.textui.TestRunner.run (suite()); } public static Test suite() { - return new TestSuite(ThreadLocalRandomTest.class); + return new TestSuite(ThreadLocalRandomTest.class); } /** @@ -42,8 +42,7 @@ public class ThreadLocalRandomTest exten try { ThreadLocalRandom.current().setSeed(17); shouldThrow(); - } catch (UnsupportedOperationException success) { - } + } catch (UnsupportedOperationException success) {} } /** @@ -121,8 +120,7 @@ public class ThreadLocalRandomTest exten try { int f = ThreadLocalRandom.current().nextInt(-17); shouldThrow(); - } catch (IllegalArgumentException success) { - } + } catch (IllegalArgumentException success) {} } /** @@ -132,8 +130,7 @@ public class ThreadLocalRandomTest exten try { int f = ThreadLocalRandom.current().nextInt(17, 2); shouldThrow(); - } catch (IllegalArgumentException success) { - } + } catch (IllegalArgumentException success) {} } @@ -186,8 +183,7 @@ public class ThreadLocalRandomTest exten try { long f = ThreadLocalRandom.current().nextLong(-17); shouldThrow(); - } catch (IllegalArgumentException success) { - } + } catch (IllegalArgumentException success) {} } /** @@ -197,8 +193,7 @@ public class ThreadLocalRandomTest exten try { long f = ThreadLocalRandom.current().nextLong(17, 2); shouldThrow(); - } catch (IllegalArgumentException success) { - } + } catch (IllegalArgumentException success) {} } /**