Merge pull request #350 (https://github.com/JetBrains/intellij-community/pull/350)
[idea/community.git] / platform / platform-api / src / com / intellij / ui / ScreenUtil.java
index 63a159bca2e7e46afce6cfeb8d3941965a46e47d..b262214d4f402327a55a84a2fe0745727c1d9624 100644 (file)
@@ -35,7 +35,7 @@ public class ScreenUtil {
   public static final String DISPOSE_TEMPORARY = "dispose.temporary";
 
   @Nullable private static final Map<GraphicsConfiguration, Pair<Insets, Long>> ourInsetsCache =
-    Patches.JDK_BUG_ID_8004103 ? new WeakHashMap<GraphicsConfiguration, Pair<Insets, Long>>() : null;
+    Patches.isJdkBugId8004103() ? new WeakHashMap<GraphicsConfiguration, Pair<Insets, Long>>() : null;
   private static final int ourInsetsTimeout = 5000;  // shouldn't be too long
 
   private ScreenUtil() { }