You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Henri Yandell <fl...@gmail.com> on 2013/10/17 10:21:49 UTC
[lang] LANG-781
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?
Hen
Re: [lang] LANG-781
Posted by Paul Benedict <pb...@apache.org>.
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 <ga...@gmail.com>wrote:
> On Thu, Oct 17, 2013 at 3:24 PM, Matt Benson <gu...@gmail.com> wrote:
>
> > On Oct 17, 2013 3:22 AM, "Henri Yandell" <fl...@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: garydgregory@gmail.com | ggregory@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
Re: [lang] LANG-781
Posted by Gary Gregory <ga...@gmail.com>.
On Thu, Oct 17, 2013 at 3:24 PM, Matt Benson <gu...@gmail.com> wrote:
> On Oct 17, 2013 3:22 AM, "Henri Yandell" <fl...@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: garydgregory@gmail.com | ggregory@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
Re: [lang] LANG-781
Posted by Matt Benson <gu...@gmail.com>.
On Oct 17, 2013 3:22 AM, "Henri Yandell" <fl...@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.
Matt
> Hen