X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Frest%2Fparams%2FSeqGroupIndexVector.java;fp=src%2Fjalview%2Fws%2Frest%2Fparams%2FSeqGroupIndexVector.java;h=dcb7fab8876a2fb694eaa703d10358a04241c22f;hb=be762d8d9c71a7aa3121e845c45911c7192b7827;hp=8306873e331f0f931d87e325f7322dd686735032;hpb=d1bb7a31fc091606aedbc255a5766ac79e36fa91;p=jalview.git diff --git a/src/jalview/ws/rest/params/SeqGroupIndexVector.java b/src/jalview/ws/rest/params/SeqGroupIndexVector.java index 8306873..dcb7fab 100644 --- a/src/jalview/ws/rest/params/SeqGroupIndexVector.java +++ b/src/jalview/ws/rest/params/SeqGroupIndexVector.java @@ -48,8 +48,8 @@ import org.apache.http.entity.mime.content.StringBody; * @author JimP * */ -public class SeqGroupIndexVector extends InputType implements - AlignmentProcessor +public class SeqGroupIndexVector extends InputType + implements AlignmentProcessor { public SeqGroupIndexVector() { @@ -99,12 +99,10 @@ public class SeqGroupIndexVector extends InputType implements { if (sg.getSize() < minsize) { - throw new NoValidInputDataException( - MessageManager - .formatMessage( - "exception.notvaliddata_group_contains_less_than_min_seqs", - new String[] { Integer.valueOf(minsize) - .toString() })); + throw new NoValidInputDataException(MessageManager.formatMessage( + "exception.notvaliddata_group_contains_less_than_min_seqs", + new String[] + { Integer.valueOf(minsize).toString() })); } // TODO: refactor to sequenceGroup for efficiency - // getAlignmentRowInterval(AlignmentI al) @@ -261,8 +259,8 @@ public class SeqGroupIndexVector extends InputType implements return true; } catch (Exception x) { - warnings.append("Invalid molecule type '" + val - + "'. Must be one of ("); + warnings.append( + "Invalid molecule type '" + val + "'. Must be one of ("); for (molType v : molType.values()) { warnings.append(" " + v); @@ -279,8 +277,8 @@ public class SeqGroupIndexVector extends InputType implements List lst = getBaseOptions(); lst.add(new Option("sep", "Separator character between elements of vector", true, ",", - sep, Arrays.asList(new String[] { " ", ",", ";", "\t", "|" }), - null)); + sep, Arrays.asList(new String[] + { " ", ",", ";", "\t", "|" }), null)); lst.add(new IntegerParameter("minsize", "Minimum size of partition allowed by service", true, 1, minsize, 1, 0));