File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/utils/IdealGraphVisualizer/View/src/main/java/com/sun/hotspot/igv/view Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public EditorInputGraphProvider(EditorTopComponent editor) {
4949
5050 @ Override
5151 public InputGraph getGraph () {
52- if (editor != null && editor . isOpened () ) {
52+ if (editor != null ) {
5353 return editor .getModel ().getGraphToView ();
5454 } else {
5555 return null ;
@@ -58,14 +58,14 @@ public InputGraph getGraph() {
5858
5959 @ Override
6060 public void setSelectedNodes (Set <InputNode > nodes ) {
61- if (editor != null && editor . isOpened () ) {
61+ if (editor != null ) {
6262 editor .setSelectedNodes (nodes );
6363 }
6464 }
6565
6666 @ Override
6767 public Iterable <InputGraph > searchBackward () {
68- if (editor != null && editor . isOpened () ) {
68+ if (editor != null ) {
6969 return editor .getModel ().getGraphsBackward ();
7070 } else {
7171 return null ;
@@ -74,7 +74,7 @@ public Iterable<InputGraph> searchBackward() {
7474
7575 @ Override
7676 public Iterable <InputGraph > searchForward () {
77- if (editor != null && editor . isOpened () ) {
77+ if (editor != null ) {
7878 return editor .getModel ().getGraphsForward ();
7979 } else {
8080 return null ;
You can’t perform that action at this time.
0 commit comments