You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-dev@incubator.apache.org by Lars Corneliussen <me...@lcorneliussen.de> on 2011/12/01 10:58:57 UTC
Introducing Guava dependency
Hi guys,
I'm introducing a dependency to Google Guava for NPanday 1.5.0.
Why? Because I'd like to write more modern and expressive code ;-)
Although we have some references to apache-commons-exec and -io it has not been used consistently.
I think, writing things like "if (x != null && !"".equals(x)) {} ... " is just not appropriate for these days.
Any objections?
Also read this:
http://stackoverflow.com/questions/1444437/apache-commons-vs-google-collections
_
Lars
Re: Introducing Guava dependency
Posted by Brett Porter <br...@apache.org>.
No objections.
On 01/12/2011, at 9:58 PM, Lars Corneliussen wrote:
> Hi guys,
>
> I'm introducing a dependency to Google Guava for NPanday 1.5.0.
>
> Why? Because I'd like to write more modern and expressive code ;-)
> Although we have some references to apache-commons-exec and -io it has not been used consistently.
>
> I think, writing things like "if (x != null && !"".equals(x)) {} ... " is just not appropriate for these days.
>
> Any objections?
>
> Also read this:
> http://stackoverflow.com/questions/1444437/apache-commons-vs-google-collections
>
> _
> Lars
>
>
--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/
http://au.linkedin.com/in/brettporter