From b546a5ad46ba38d434a973cda1c2133af3e5e79e Mon Sep 17 00:00:00 2001 From: Tagir Valeev Date: Mon, 8 Jun 2020 12:50:59 +0700 Subject: [PATCH] Fix zero-tolerance warnings after redundant cast removal GitOrigin-RevId: 7189fa104afbb92c395dc52f480bea73fd510277 --- .../impl/src/com/intellij/debugger/jdi/StackFrameProxyImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/debugger/impl/src/com/intellij/debugger/jdi/StackFrameProxyImpl.java b/java/debugger/impl/src/com/intellij/debugger/jdi/StackFrameProxyImpl.java index 6f6bee2ab937..40f95c2df5ee 100644 --- a/java/debugger/impl/src/com/intellij/debugger/jdi/StackFrameProxyImpl.java +++ b/java/debugger/impl/src/com/intellij/debugger/jdi/StackFrameProxyImpl.java @@ -413,7 +413,7 @@ public class StackFrameProxyImpl extends JdiProxy implements StackFrameProxyEx { try { final LocalVariable variable = localVariable.getVariable(); final StackFrame stackFrame = getStackFrame(); - stackFrame.setValue(variable, (value instanceof ObjectReference) ? value : value); + stackFrame.setValue(variable, value); if (myAllValues != null) { // update cached data if any // re-read the value just set from the stackframe to be 100% sure