# | Line 18 | Line 18 | public class ThreadLocalTest extends JSR | |
---|---|---|
18 | return new TestSuite(ThreadLocalTest.class); | |
19 | } | |
20 | ||
21 | < | static ThreadLocal<Item> tl = new ThreadLocal<Item>() { |
21 | > | static ThreadLocal<Item> tl = new ThreadLocal<>() { |
22 | public Item initialValue() { | |
23 | return one; | |
24 | } | |
25 | }; | |
26 | ||
27 | static InheritableThreadLocal<Item> itl = | |
28 | < | new InheritableThreadLocal<Item>() { |
28 | > | new InheritableThreadLocal<>() { |
29 | protected Item initialValue() { | |
30 | return zero; | |
31 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |