mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8321470: ThreadLocal.nextHashCode can be static final
Reviewed-by: shade, jpai
This commit is contained in:
parent
42bb852696
commit
c42535f111
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ public class ThreadLocal<T> {
|
|||
* The next hash code to be given out. Updated atomically. Starts at
|
||||
* zero.
|
||||
*/
|
||||
private static AtomicInteger nextHashCode =
|
||||
private static final AtomicInteger nextHashCode =
|
||||
new AtomicInteger();
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue