diff --git a/java/debugger/debugger-agent-storage/src/com/intellij/rt/debugger/agent/CaptureStorage.java b/java/debugger/debugger-agent-storage/src/com/intellij/rt/debugger/agent/CaptureStorage.java index 631fd3bab284..343d35985ae8 100644 --- a/java/debugger/debugger-agent-storage/src/com/intellij/rt/debugger/agent/CaptureStorage.java +++ b/java/debugger/debugger-agent-storage/src/com/intellij/rt/debugger/agent/CaptureStorage.java @@ -57,6 +57,7 @@ public class CaptureStorage { return; } try { + //noinspection SuspiciousMethodCalls CapturedStack stack = STORAGE.get(new HardKey(key)); Deque currentStacks = CURRENT_STACKS.get(); if (stack != null) { @@ -131,6 +132,7 @@ public class CaptureStorage { private final CapturedStack myValue; public WeakKey(Object key, CapturedStack value, ReferenceQueue q) { + //noinspection unchecked super(key, q); myHash = System.identityHashCode(key); myValue = value; @@ -247,6 +249,7 @@ public class CaptureStorage { // to be run from the debugger @SuppressWarnings("unused") public static Object[][] getRelatedStack(Object key, int limit) { + //noinspection SuspiciousMethodCalls CapturedStack stack = STORAGE.get(new HardKey(key)); if (stack == null) { return null;