Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSarika Sinha2021-02-15 09:52:49 +0000
committerSarika Sinha2021-02-15 12:24:38 +0000
commitee6cc06388c729e1abe892abd01fa0a2c271793c (patch)
tree01ddf17c274300081977a39b39678690d68d2ae5
parentdbbb93bc104e132c0f5ce1d1f4a7864e671a0f08 (diff)
downloadeclipse.platform.debug-ee6cc06388c729e1abe892abd01fa0a2c271793c.tar.gz
eclipse.platform.debug-ee6cc06388c729e1abe892abd01fa0a2c271793c.tar.xz
eclipse.platform.debug-ee6cc06388c729e1abe892abd01fa0a2c271793c.zip
This reverts commit 8ef1ae4c60afadaff2ef6ebc924583e0ec98fa06. Reason for revert: Bug 567787 has fixed the issue in the proper way Change-Id: If08fec4adf9dddd45efb3b6515300d1f55192c3c
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/InspectPopupDialog.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/InspectPopupDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/InspectPopupDialog.java
index ad2501593..f49774165 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/InspectPopupDialog.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/InspectPopupDialog.java
@@ -16,7 +16,6 @@ package org.eclipse.debug.ui;
import java.util.List;
import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
import org.eclipse.core.runtime.preferences.InstanceScope;
import org.eclipse.debug.core.DebugPlugin;
@@ -52,7 +51,6 @@ import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Tree;
-import org.eclipse.swt.widgets.TreeItem;
import org.eclipse.ui.IViewPart;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchPartSite;
@@ -170,13 +168,6 @@ public class InspectPopupDialog extends DebugPopup {
});
fViewer.setInput(treeRoot);
- // Workaround for empty inspect dialog due to Mac bug (Bug 567787)
- if (Platform.OS_MACOSX.equals(Platform.getOS())) {
- fTree.setItemCount(1);
- TreeItem item = fTree.getItem(0);
- item.getText();
- }
-
return fTree;
}

Back to the top