commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [beanutils2] Assertions class vs. lang Validate
Date Sat, 01 Mar 2014 16:33:00 GMT
I should clarify that I see components like [io] and [lang] as lower level
than [beanutils] for example.

Gary


On Sat, Mar 1, 2014 at 11:32 AM, Gary Gregory <garydgregory@gmail.com>wrote:

> My preference would be for components like [io] and [lang] to be reused
> from other components as a dependency in order to avoid this kind of
> duplication.
>
> Gary
>
>
> On Sat, Mar 1, 2014 at 11:27 AM, André Diermann <andre.diermann@gmail.com>wrote:
>
>> Hello,
>>
>> I noticed that the majority (all?) functionality of the Assertions class
>> is
>> already covert by commons-lang Validate [1].
>>
>> For instance Assertions.checkNotNull() is an equivalent to
>> Validate.notNull().
>>
>> Is there a reason for this?
>>
>> Regards,
>> André
>>
>> [1]
>>
>> http://commons.apache.org/proper/commons-lang/javadocs/api-release/index.html
>>
>
>
>
> --
> 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
>



-- 
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message