JAL-3066 Fix NullPointerException thrown when showing HMMER run dialog
authorMateusz Warowny <mmzwarowny@dundee.ac.uk>
Thu, 4 Mar 2021 13:59:48 +0000 (14:59 +0100)
committerMateusz Warowny <mmzwarowny@dundee.ac.uk>
Tue, 27 Jul 2021 11:00:07 +0000 (13:00 +0200)
src/jalview/gui/WsJobParameters.java

index 88819e4..c1a925d 100644 (file)
@@ -218,12 +218,8 @@ public class WsJobParameters extends JPanel implements ItemListener,
     if (service != null)
     {
       frame.setTitle(MessageManager.formatMessage("label.edit_params_for",
-              new String[]
-      { service.getActionText() }));
+              new String[] { service.getActionText() }));
     }
-    frame.setTitle(MessageManager.formatMessage("label.edit_params_for",
-            new String[]
-            { service.getActionText() }));
     Rectangle deskr = Desktop.getInstance().getBounds();
     Dimension pref = this.getPreferredSize();
     frame.setBounds(