I don't think any duplication will occur if we follow simple rules. Unless the object performs validation -- which can determined if an exception is thrown on validation failure -- then you have a method for ObjectUtils; otherwise it belongs in Validate.
On Fri, Oct 18, 2013 at 1:26 PM, Gary Gregory <garydgreg...@gmail.com>wrote: > On Thu, Oct 17, 2013 at 3:24 PM, Matt Benson <gudnabr...@gmail.com> wrote: > > > On Oct 17, 2013 3:22 AM, "Henri Yandell" <flame...@gmail.com> wrote: > > > > > > Matt/Gary: > > > > > > Are we able to move onwards with this issue? > > > > > > https://issues.apache.org/jira/browse/LANG-781 > > > > > > You seemed in agreement. Are the ObjectUtils patches good to apply, and > > > does the Validate patch need implementing? Should the validate part be > > > split off as a separate issue? > > > > > > > Original requestor wants a boolean so I guess the ObjectUtils patch is > > necessary to satisfy. If we split off the Validate issue then it doesn't > so > > much matter when that gets done though I believe it's trivial. > > > > What I would like to see is: > - Validate stand on it's own as a validation too. > - ObjectUtils be a home for things we think belong in java.lang.Object or > Objects. > > This means some duplication is possible. > > Gary > > > > > > Matt > > > > > Hen > > > > > > -- > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > Java Persistence with Hibernate, Second Edition< > http://www.manning.com/bauer3/> > JUnit in Action, Second Edition <http://www.manning.com/tahchiev/> > Spring Batch in Action <http://www.manning.com/templier/> > Blog: http://garygregory.wordpress.com > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory > -- Cheers, Paul