cleeanup
authorDmitry Batkovich <dmitry.batkovich@jetbrains.com>
Tue, 24 May 2016 12:50:59 +0000 (15:50 +0300)
committerDmitry Batkovich <dmitry.batkovich@jetbrains.com>
Tue, 24 May 2016 12:50:59 +0000 (15:50 +0300)
platform/lang-impl/src/com/intellij/codeInspection/ui/InspectionResultsView.java

index b8eeddb35d4c8de7a8ddde0a0fa40b820c9e3f63..9c2a95244541ff1b904a68f6ebe58259587c4e99 100644 (file)
@@ -23,9 +23,7 @@ import com.intellij.codeHighlighting.HighlightDisplayLevel;
 import com.intellij.codeInsight.daemon.HighlightDisplayKey;
 import com.intellij.codeInspection.*;
 import com.intellij.codeInspection.ex.*;
-import com.intellij.codeInspection.offline.OfflineProblemDescriptor;
 import com.intellij.codeInspection.offlineViewer.OfflineInspectionRVContentProvider;
-import com.intellij.codeInspection.offlineViewer.OfflineRefElementNode;
 import com.intellij.codeInspection.reference.RefElement;
 import com.intellij.codeInspection.reference.RefEntity;
 import com.intellij.codeInspection.ui.actions.ExportHTMLAction;
@@ -484,13 +482,6 @@ public class InspectionResultsView extends JPanel implements Disposable, Occuren
   }
 
   private void showInRightPanel(@Nullable final RefEntity refEntity) {
-    final Object component = myTree.getSelectionPath().getLastPathComponent();
-    if (component instanceof OfflineRefElementNode) {
-      final OfflineProblemDescriptor descriptor = ((OfflineRefElementNode)component).getOfflineDescriptor();
-      System.out.println(descriptor);
-      System.out.println(descriptor.getFQName());
-      System.out.println("--");
-    }
     Cursor currentCursor = getCursor();
     try {
       setCursor(new Cursor(Cursor.WAIT_CURSOR));