X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fws%2Frest%2FRestJob.java;h=824af901af17aaa2d6fe8ef488fe4d14f21bb41b;hb=feeb56fc2f3d7c40a46466ff52c7663cc96d6c70;hp=c4afd0c486d0547f286f0a33f855bb5aef1f1603;hpb=7ab5d6b0ba5fec1ea4a4239e79c476d841622485;p=jalview.git diff --git a/src/jalview/ws/rest/RestJob.java b/src/jalview/ws/rest/RestJob.java index c4afd0c..824af90 100644 --- a/src/jalview/ws/rest/RestJob.java +++ b/src/jalview/ws/rest/RestJob.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2) - * Copyright (C) 2014 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. * @@ -20,13 +20,6 @@ */ package jalview.ws.rest; -import java.util.ArrayList; -import java.util.Collection; -import java.util.Hashtable; -import java.util.Map; -import java.util.Set; -import java.util.Vector; - import jalview.datamodel.AlignmentAnnotation; import jalview.datamodel.AlignmentI; import jalview.datamodel.AlignmentOrder; @@ -37,6 +30,13 @@ import jalview.ws.AWsJob; import jalview.ws.rest.params.Alignment; import jalview.ws.rest.params.SeqGroupIndexVector; +import java.util.ArrayList; +import java.util.Collection; +import java.util.Hashtable; +import java.util.Map; +import java.util.Set; +import java.util.Vector; + public class RestJob extends AWsJob { @@ -77,8 +77,8 @@ public class RestJob extends AWsJob * @param viscontigs * visible contigs of an alignment view from which _input was derived */ - public RestJob(int jobNum, RestJobThread restJobThread, - AlignmentI _input, int[] viscontigs) + public RestJob(int jobNum, RestJobThread restJobThread, AlignmentI _input, + int[] viscontigs) { rsd = restJobThread.restClient.service; jobnum = jobNum; @@ -90,8 +90,8 @@ public class RestJob extends AWsJob // get sequences for the alignmentI // get groups trimmed to alignment columns // get any annotation trimmed to start/end columns, too. - squniq = jalview.analysis.SeqsetUtils.uniquify( - _input.getSequencesArray(), true); + squniq = jalview.analysis.SeqsetUtils + .uniquify(_input.getSequencesArray(), true); // prepare input // form alignment+groups+annotation,preprocess and then record references // for formatters @@ -122,8 +122,8 @@ public class RestJob extends AWsJob } else { - statMessage = ("Not enough groups defined on the alignment - need at least " + prm - .getValue().min); + statMessage = ("Not enough groups defined on the alignment - need at least " + + prm.getValue().min); } } }