X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fws%2Frest%2Fparams%2FSeqGroupIndexVector.java;h=dcb7fab8876a2fb694eaa703d10358a04241c22f;hb=5a3e8375831cd87fb3668e0945f907ddce0ab82a;hp=823b907ac77e422593770421cda6288686223057;hpb=c19d2a91ca05e052e3408bf5852d88eb5d0608f1;p=jalview.git diff --git a/src/jalview/ws/rest/params/SeqGroupIndexVector.java b/src/jalview/ws/rest/params/SeqGroupIndexVector.java index 823b907..dcb7fab 100644 --- a/src/jalview/ws/rest/params/SeqGroupIndexVector.java +++ b/src/jalview/ws/rest/params/SeqGroupIndexVector.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2) - * Copyright (C) 2015 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors * * This file is part of Jalview. * @@ -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));