X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fjws2%2FParameterUtils.java;h=0fb36ad05e469284f4c93a251769542d4faa96e9;hb=8a2a0cda7067530f8481c2aec203e18d555f2dfd;hp=c5df94b4bc1e98e39afef1885bbddb5bab7be80e;hpb=c19d2a91ca05e052e3408bf5852d88eb5d0608f1;p=jalview.git diff --git a/src/jalview/ws/jws2/ParameterUtils.java b/src/jalview/ws/jws2/ParameterUtils.java index c5df94b..0fb36ad 100644 --- a/src/jalview/ws/jws2/ParameterUtils.java +++ b/src/jalview/ws/jws2/ParameterUtils.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. * @@ -79,7 +79,7 @@ public class ParameterUtils Option o = options.getArgumentByOptionName(oname); if (o == null) { - System.out.println("WARN ignoring unsuppoted parameter: " + oname); + jalview.bin.Console.outPrintln("WARN ignoring unsuppoted parameter: " + oname); continue; } if (o instanceof Parameter) @@ -93,12 +93,13 @@ public class ParameterUtils { try { - o.setDefaultValue(isParameter(param, pseparator) ? getParamValue( - param, pseparator) : param); + o.setDefaultValue(isParameter(param, pseparator) + ? getParamValue(param, pseparator) + : param); } catch (WrongParameterException e) { - System.out.println("Problem setting value for the parameter: " - + param); + jalview.bin.Console.outPrintln( + "Problem setting value for the parameter: " + param); e.printStackTrace(); } } @@ -185,9 +186,8 @@ public class ParameterUtils } catch (Exception e) { e.printStackTrace(); - throw new Error( - MessageManager - .getString("error.implementation_error_couldnt_copy_value_constraint")); + throw new Error(MessageManager.getString( + "error.implementation_error_couldnt_copy_value_constraint")); } }