From 3ccc8045265bf23335df3c4b7448e0d91cb7c4df Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 14 Jun 2012 11:38:26 +0100 Subject: [PATCH] formatting --- src/jalview/ws/jws2/SequenceAnnotationWSClient.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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() -- 1.7.10.2