From: jprocter Date: Thu, 14 Jun 2012 10:38:26 +0000 (+0100) Subject: formatting X-Git-Tag: Jalview_2_9~471 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=3ccc8045265bf23335df3c4b7448e0d91cb7c4df;p=jalview.git formatting --- diff --git a/src/jalview/ws/jws2/SequenceAnnotationWSClient.java b/src/jalview/ws/jws2/SequenceAnnotationWSClient.java index e3f3674..078803c 100644 --- a/src/jalview/ws/jws2/SequenceAnnotationWSClient.java +++ b/src/jalview/ws/jws2/SequenceAnnotationWSClient.java @@ -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 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()