-
Enhancement
-
Resolution: Unresolved
-
P5
-
None
-
In Review
In the following code:
if (storedInsets.get(win.getClass()) == null) {
storedInsets.put(win.getClass(), correctWM);
}
We can use Map.putIfAbsent to avoid unnecessary Map.get call
if (storedInsets.get(win.getClass()) == null) {
storedInsets.put(win.getClass(), correctWM);
}
We can use Map.putIfAbsent to avoid unnecessary Map.get call
- links to
-
Review(master) openjdk/jdk/24906