From: Matt B. <gud...@ya...> - 2007-01-09 21:38:49
|
--- Ben Alex <ben...@ac...> wrote: > Hi Matt > > Matt Benson wrote: > > Matt S (and anyone else who may be watching): > > Thanks for the update. It looks good in Eclipse, but > when using Ant to > build a JAR, I received an error on > ServletRequestParameterReflector rev > 58. I fixed it by changing line 63 to the following: > > return (ObjectUtils.isEmpty(values) || values.length > == 1) ? > getRequest(bean).getParameter(propertyName) : > (Object)values; Hi Ben, I had just found this, and solved it similarly (I added the case to the first object instead of the second ;) ). So I checked that in right before I got this. I had the same experience as you--apparently ecj behaves differently (smarter) with ternary ops from the Sun compiler. I only found it b/c I dropped back to the command line to do the Ant build. Good lesson to all, I suppose. ;) br, Matt B __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |