X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fjws2%2FJabaPreset.java;h=948455bf6d80d3ecddcb771c1bf68f369ddef793;hb=153dd62dc91da13ae732600e6ea55ddbe15eab39;hp=1f8517e65656a0bfb4f98b4e708b6192ccfb1b9d;hpb=85037c7f026acf289a22eaf0bd0d368351b5905e;p=jalview.git diff --git a/src/jalview/ws/jws2/JabaPreset.java b/src/jalview/ws/jws2/JabaPreset.java index 1f8517e..948455b 100644 --- a/src/jalview/ws/jws2/JabaPreset.java +++ b/src/jalview/ws/jws2/JabaPreset.java @@ -1,3 +1,20 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6) + * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle + * + * This file is part of Jalview. + * + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along with Jalview. If not, see . + */ package jalview.ws.jws2; import jalview.ws.jws2.Jws2Discoverer.Jws2Instance; @@ -28,7 +45,7 @@ public class JabaPreset implements WsParamSetI { @Override public String[] getApplicableUrls() { - return new String[] { service.getHost()}; + return new String[] { service.getUri()}; } @Override public String getSourceFile() @@ -62,4 +79,4 @@ public class JabaPreset implements WsParamSetI { { throw new Error("Cannot set Parameters for a Jaba Web service's preset"); } -} \ No newline at end of file +}