mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
EA-235126 - CME: HighlightableComponent.getPreferredSize
(cherry picked from commit 523d80cafd)
This commit is contained in:
committed by
Vitaly Provodin
parent
b73ffc9f8a
commit
6c49aff129
@@ -73,6 +73,7 @@ import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
import java.util.concurrent.Callable;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.concurrent.Future;
|
||||
import java.util.concurrent.FutureTask;
|
||||
|
||||
@@ -1248,7 +1249,7 @@ public class SwingUtilities2 {
|
||||
AppContext.getAppContext().get(APP_CONTEXT_FRC_CACHE_KEY);
|
||||
|
||||
if (cache == null) {
|
||||
cache = new HashMap<>();
|
||||
cache = new ConcurrentHashMap<>();
|
||||
AppContext.getAppContext().put(APP_CONTEXT_FRC_CACHE_KEY, cache);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user