JAL-2779 remove empty block and if statement
authorJim Procter <jprocter@issues.jalview.org>
Wed, 25 Oct 2017 14:36:42 +0000 (15:36 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Wed, 25 Oct 2017 14:36:42 +0000 (15:36 +0100)
src/jalview/gui/Desktop.java

index 5366d1f..2d1ba12 100644 (file)
@@ -899,12 +899,7 @@ public class Desktop extends jalview.jbgui.GDesktop
           menuItem.removeActionListener(menuItem.getActionListeners()[0]);
         }
         windowMenu.remove(menuItem);
-        JInternalFrame itf = desktop.getSelectedFrame();
-        if (itf != null)
-        {
-          // itf.requestFocus();
-          //
-        }
+
         System.gc();
       };
     });