Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
6202942 rfe 4 18M 1 Fix Delivered pete.soper java/lang (spec thread) ThreadLocal example should use generics and autoboxing Comment added by (###@###.###) : Wouldn't it be slightly better for the example to use getAndIncrement() rather than getAndAdd(1)? And a few finals wouldn't go amiss. And an @Override. Oh and the HTML is slightly wrong, The disappears, so the example makes even less sense than it did beforehand. {@code } would make source and docs readable.
|