mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8003967: detect and remove all mutable implicit static enum fields in langtools
Reviewed-by: jjg
This commit is contained in:
parent
5c0bff8f21
commit
8fc2d739bd
31 changed files with 333 additions and 128 deletions
|
@ -97,7 +97,7 @@ public enum StandardLocation implements Location {
|
|||
return locations.get(name);
|
||||
}
|
||||
//where
|
||||
private static ConcurrentMap<String,Location> locations
|
||||
private static final ConcurrentMap<String,Location> locations
|
||||
= new ConcurrentHashMap<String,Location>();
|
||||
|
||||
public String getName() { return name(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue