Revert "Bug 568932 - [BigSur] Cannot hover over or inspect variables"

This reverts commit 8ef1ae4c60afadaff2ef6ebc924583e0ec98fa06.

Reason for revert: Bug 567787 has fixed the issue in the proper way

Change-Id: If08fec4adf9dddd45efb3b6515300d1f55192c3c
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 ad25015..f497741 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 @@
 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.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 @@
 		});
 		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;
 	}