X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fjws2%2FJabaPreset.java;h=981b28800bc233f41ebd92701a09be805a1471bb;hb=eca4795050a0f7eca3d5dece68eaa54987cebd15;hp=a4ae7ca2ba5f72eee0cc1024b10863f4c34b4dd2;hpb=c19d2a91ca05e052e3408bf5852d88eb5d0608f1;p=jalview.git diff --git a/src/jalview/ws/jws2/JabaPreset.java b/src/jalview/ws/jws2/JabaPreset.java index a4ae7ca..981b288 100644 --- a/src/jalview/ws/jws2/JabaPreset.java +++ b/src/jalview/ws/jws2/JabaPreset.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. * @@ -74,9 +74,9 @@ public class JabaPreset implements WsParamSetI @Override public void setSourceFile(String newfile) { - throw new Error(MessageManager.formatMessage( - "error.cannot_set_source_file_for", new String[] { getClass() - .toString() })); + throw new Error(MessageManager + .formatMessage("error.cannot_set_source_file_for", new String[] + { getClass().toString() })); } @Override @@ -84,22 +84,20 @@ public class JabaPreset implements WsParamSetI { try { - return JabaParamStore.getJwsArgsfromJaba(p.getArguments(service - .getRunnerConfig())); + return JabaParamStore.getJwsArgsfromJaba( + p.getArguments(service.getRunnerConfig())); } catch (Exception e) { e.printStackTrace(); - throw new Error( - MessageManager - .getString("error.mismatch_service_instance_preset")); + throw new Error(MessageManager + .getString("error.mismatch_service_instance_preset")); } } @Override public void setArguments(List args) { - throw new Error( - MessageManager - .getString("error.cannot_set_params_for_ws_preset")); + throw new Error(MessageManager + .getString("error.cannot_set_params_for_ws_preset")); } }