News for hackers. Stuff that matters.
Re:Hidden Features of Java by jahnu on Sunday January 08, 2012 @12:00PM (#3439917)
The example in the linked ThreadLocal documentation appears to have a mistake.

In getCurrentThreadId it should read

return uniqueNum.get();

not

return uniqueId.get();

There are no comments on this comment yet.