Bug 152653 All references
diff --git a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/heapwalking/AllReferencesActionDelegate.java b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/heapwalking/AllReferencesActionDelegate.java
index 61531f8..2f84ae2 100644
--- a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/heapwalking/AllReferencesActionDelegate.java
+++ b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/heapwalking/AllReferencesActionDelegate.java
@@ -35,7 +35,7 @@
IJavaVariable var = (IJavaVariable) currentSelection.getFirstElement();
ReferencesPopupDialog popup;
try {
- popup = new ReferencesPopupDialog(getWorkbenchWindow().getShell(), (IDebugView) getPart().getAdapter(IDebugView.class), null, (IJavaObject) var.getValue());
+ popup = new ReferencesPopupDialog(getWorkbenchWindow().getShell(), (IDebugView) getPart().getAdapter(IDebugView.class), (IJavaObject) var.getValue());
popup.open();
} catch (DebugException e) {
JDIDebugUIPlugin.statusDialog(e.getStatus());
diff --git a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/heapwalking/ReferencesPopupDialog.java b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/heapwalking/ReferencesPopupDialog.java
index a9f74b2..85694ac 100644
--- a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/heapwalking/ReferencesPopupDialog.java
+++ b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/heapwalking/ReferencesPopupDialog.java
@@ -73,12 +73,10 @@
*
* @param shell The parent shell
* @param view view to anchor the popup on
- * @param commandId The command id to be used for persistence of
- * the dialog (possibly <code>null</code>)
* @param root object to browse references to
*/
- public ReferencesPopupDialog(Shell shell, IDebugView view, String commandId, IJavaObject root) {
- super(shell, getAnchor(view), commandId);
+ public ReferencesPopupDialog(Shell shell, IDebugView view, IJavaObject root) {
+ super(shell, getAnchor(view), null);
fRoot = root;
fView = view;
}