formatting
authorjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 14 Jun 2012 10:38:26 +0000 (11:38 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Thu, 14 Jun 2012 10:38:26 +0000 (11:38 +0100)
src/jalview/ws/jws2/SequenceAnnotationWSClient.java

index e3f3674..078803c 100644 (file)
@@ -43,18 +43,16 @@ public class SequenceAnnotationWSClient extends Jws2Client
     super(alignFrame, preset, null);
     if (alignFrame.getViewport().getAlignment().isNucleotide())
     {
-      JOptionPane
-              .showMessageDialog(
-                      Desktop.desktop,
-                      sh.serviceType+" can only be used\nfor amino acid alignments.",
-                      "Wrong type of sequences!",
-                      JOptionPane.WARNING_MESSAGE);
+      JOptionPane.showMessageDialog(Desktop.desktop, sh.serviceType
+              + " can only be used\nfor amino acid alignments.",
+              "Wrong type of sequences!", JOptionPane.WARNING_MESSAGE);
       return;
 
     }
     if (sh.action.toLowerCase().contains("conservation"))
     {
-      // Build an AACons style client - take alignment, return annotation for columns
+      // Build an AACons style client - take alignment, return annotation for
+      // columns
 
       List<AlignCalcWorkerI> clnts = alignFrame.getViewport()
               .getCalcManager()
@@ -91,7 +89,8 @@ public class SequenceAnnotationWSClient extends Jws2Client
     }
     if (sh.action.toLowerCase().contains("disorder"))
     {
-      // build IUPred style client. take sequences, returns annotation per sequence.
+      // build IUPred style client. take sequences, returns annotation per
+      // sequence.
       if (!processParams(sh, editParams))
       {
         return;
@@ -117,7 +116,8 @@ public class SequenceAnnotationWSClient extends Jws2Client
   {
     boolean hasparams = service.hasParameters();
     // Assume name ends in WS
-    String calcName = service.serviceType.substring(0,service.serviceType.length()-2);
+    String calcName = service.serviceType.substring(0,
+            service.serviceType.length() - 2);
 
     JMenuItem aacons = new JMenuItem(calcName + " Defaults");
     aacons.addActionListener(new ActionListener()