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

Comparing jsr166/src/test/tck/ThreadLocalTest.java (file contents):
Revision 1.5 by dl, Sat Jan 10 20:37:20 2004 UTC vs.
Revision 1.6 by jsr166, Fri Jul 31 23:37:31 2009 UTC

# Line 78 | Line 78 | public class ThreadLocalTest extends JSR
78              if (child != null) { // Wait for child (if any)
79                  try {
80                      child.join();
81 <                } catch(InterruptedException e) {
81 >                } catch (InterruptedException e) {
82                      threadUnexpectedException();
83                  }
84              }
# Line 95 | Line 95 | public class ThreadLocalTest extends JSR
95          try {
96              progenitor.start();
97              progenitor.join();
98 <            for(int i = 0; i < threadCount; i++) {
98 >            for (int i = 0; i < threadCount; i++) {
99                  assertEquals(i, x[i]);
100              }
101 <        } catch(InterruptedException e) {
101 >        } catch (InterruptedException e) {
102              unexpectedException();
103          }
104      }
105   }
106

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines