This is Greek to me :-) See previous email ...
> On 16 May 2014, at 22:55, Frank Pedroza <fpedr...@part.net> wrote: > > public static void main(String[] args) { > System.out.println("accepts :" + new > ParameterConverters.BooleanConverter().accept(Boolean.TYPE)); > System.out.println("true==true :" + ((Boolean)new > ParameterConverters.BooleanConverter().convertValue("true", Boolean.TYPE) == > true)); > System.out.println("false==false : " + ((Boolean)new > ParameterConverters.BooleanConverter().convertValue("false", Boolean.TYPE) == > false)); > System.out.println("unknown==null : " + new > ParameterConverters.BooleanConverter().convertValue("unknown", Boolean.TYPE) > == null); > } > > produces: > > accepts :false > true==true :true > false==false : true > Exception in thread "main" java.lang.IllegalArgumentException: The String did > not match either specified value > at org.apache.commons.lang.BooleanUtils.toBoolean(BooleanUtils.java:763) > at > org.jbehave.core.steps.ParameterConverters$BooleanConverter.convertValue(ParameterConverters.java:498) > at > com.partnet.emall.automation.ConfigurationProducer.main(ConfigurationProducer.java:86) > > WTF? --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email