Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Swanson2001-09-13 12:45:13 +0000
committerDarin Swanson2001-09-13 12:45:13 +0000
commita2180c4dc866d629fc5ec0966bd5d2e1db776c21 (patch)
tree7d39e3f8b26e5d99fcd0f967fe36fb4c73f74070
parent663398e6c0249743f098cec7fb9e28a268a2bd86 (diff)
downloadeclipse.platform.debug-a2180c4dc866d629fc5ec0966bd5d2e1db776c21.tar.gz
eclipse.platform.debug-a2180c4dc866d629fc5ec0966bd5d2e1db776c21.tar.xz
eclipse.platform.debug-a2180c4dc866d629fc5ec0966bd5d2e1db776c21.zip
1GJV1G9: ITPDUI:ALL - Can inadvertantly change value of null String to "null"
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ChangeVariableValueAction.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ChangeVariableValueAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ChangeVariableValueAction.java
index bcd655f88..6c673f77e 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ChangeVariableValueAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ChangeVariableValueAction.java
@@ -98,10 +98,12 @@ public class ChangeVariableValueAction extends SelectionProviderAction {
saveChangesAndCleanup(fVariable, activeShell);
} else {
cleanup();
+ return;
}
}
if (event.character == SWT.ESC) {
cleanup();
+ return;
}
fKeyReleased= true;
}

Back to the top