# | Line 8 | Line 8 | |
---|---|---|
8 | import junit.framework.*; | |
9 | import java.util.concurrent.Semaphore; | |
10 | ||
11 | < | public class ThreadLocalTest extends TestCase { |
11 | > | public class ThreadLocalTest extends JSR166TestCase { |
12 | public static void main(String[] args) { | |
13 | junit.textui.TestRunner.run(suite()); | |
14 | } | |
# | Line 24 | Line 24 | public class ThreadLocalTest extends Tes | |
24 | }; | |
25 | ||
26 | ||
27 | + | /** |
28 | + | * remove causes next access to return initial value |
29 | + | */ |
30 | public void testRemove() { | |
31 | Integer one = new Integer(1); | |
32 | Integer two = new Integer(2); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |