diff --git a/src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/EditorInputGraphProvider.java b/src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/EditorInputGraphProvider.java index 1b8eeb83828..ccd2a018ea0 100644 --- a/src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/EditorInputGraphProvider.java +++ b/src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view/EditorInputGraphProvider.java @@ -49,7 +49,7 @@ public class EditorInputGraphProvider implements InputGraphProvider { @Override public InputGraph getGraph() { - if (editor != null && editor.isOpened()) { + if (editor != null) { return editor.getModel().getGraphToView(); } else { return null; @@ -58,14 +58,14 @@ public class EditorInputGraphProvider implements InputGraphProvider { @Override public void setSelectedNodes(Set nodes) { - if (editor != null && editor.isOpened()) { + if (editor != null) { editor.setSelectedNodes(nodes); } } @Override public Iterable searchBackward() { - if (editor != null && editor.isOpened()) { + if (editor != null) { return editor.getModel().getGraphsBackward(); } else { return null; @@ -74,7 +74,7 @@ public class EditorInputGraphProvider implements InputGraphProvider { @Override public Iterable searchForward() { - if (editor != null && editor.isOpened()) { + if (editor != null) { return editor.getModel().getGraphsForward(); } else { return null;