JAL-3438 spotless for 2.11.2.0
[jalview.git] / src / jalview / ws / jws2 / MsaWSClient.java
index 8ed4a36..9caa803 100644 (file)
@@ -269,10 +269,8 @@ public class MsaWSClient extends Jws2Client
 
           if (msa != null)
           {
-            new MsaWSClient(service, af.getTitle(), msa, withGaps,
-                    true,
-                    af.getViewport().getAlignment().getDataset(),
-                    af);
+            new MsaWSClient(service, af.getTitle(), msa, withGaps, true,
+                    af.getViewport().getAlignment().getDataset(), af);
           }
 
         }
@@ -345,16 +343,13 @@ public class MsaWSClient extends Jws2Client
               @Override
               public void actionPerformed(ActionEvent e)
               {
-                AlignmentView msa = af
-                        .gatherSequencesForAlignment();
+                AlignmentView msa = af.gatherSequencesForAlignment();
 
                 if (msa != null)
                 {
                   MsaWSClient msac = new MsaWSClient(service, preSet,
                           af.getTitle(), msa, false, true,
-                          af.getViewport().getAlignment()
-                                  .getDataset(),
-                          af);
+                          af.getViewport().getAlignment().getDataset(), af);
                 }
 
               }
@@ -380,12 +375,13 @@ public class MsaWSClient extends Jws2Client
   protected void startJob(final Jws2Instance service, final AlignFrame af,
           final boolean withGaps, AlignmentView msa)
   {
-    try {
-    new MsaWSClient(service, null, null, true,
-            af.getTitle(), msa, withGaps, true,
-            af.getViewport().getAlignment().getDataset(),
-            af);
-    } catch (Exception e) {
+    try
+    {
+      new MsaWSClient(service, null, null, true, af.getTitle(), msa,
+              withGaps, true, af.getViewport().getAlignment().getDataset(),
+              af);
+    } catch (Exception e)
+    {
       JvOptionPane.showMessageDialog(alignFrame, e.getMessage(),
               MessageManager.getString("label.state_job_error"),
               JvOptionPane.WARNING_MESSAGE);