Re: LogFactory.getLog()

2010-08-07 Thread James Carman
On Sat, Aug 7, 2010 at 7:28 PM, Torsten Curdt wrote: > > For me that's exactly the other way around - most of the time I don't > need the static access. > But, if you use static, you can access the log both ways. > > > (log objects aren't serializable for instance) > > How is that a problem? >

Re: LogFactory.getLog()

2010-08-07 Thread Torsten Curdt
> That can't be used most of the time For me that's exactly the other way around - most of the time I don't need the static access. > (log objects aren't serializable for instance) How is that a problem? > and it's inefficient. http://c2.com/cgi/wiki?PrematureOptimization

[lang] Usage statistics

2010-08-07 Thread Oliver Heger
I plan to write an article about the changes in the new Lang version for a German Magazine and would like to quote some statistics about the usage of this library to stress its importance. Can you point me somewhere where to find such figures? For instance, are there statistics about downloads

Re: LogFactory.getLog()

2010-08-07 Thread James Carman
That can't be used most of the time (log objects aren't serializable for instance) and it's inefficient. 2010/8/7 Torsten Curdt : > private Log log = LogFactory.getLog(this.getClass()); > > http://wiki.apache.org/commons/Logging/StaticLog > > > On Sat, Aug 7, 2010 at 18:36, Ted Dunning wrote: >

Re: LogFactory.getLog()

2010-08-07 Thread Torsten Curdt
private Log log = LogFactory.getLog(this.getClass()); http://wiki.apache.org/commons/Logging/StaticLog On Sat, Aug 7, 2010 at 18:36, Ted Dunning wrote: > This really would be nice to have. > > Sent from my iPhone > > On Aug 6, 2010, at 8:36 PM, "cmaj135" wrote: > >> nod >> >> >> >> >> cmaj13

Re: LogFactory.getLog()

2010-08-07 Thread Ted Dunning
This really would be nice to have. Sent from my iPhone On Aug 6, 2010, at 8:36 PM, "cmaj135" wrote: nod cmaj135 2010-08-07 发件人: Doug Bateman 发送时间: 2010-08-07 10:11:35 收件人: Commons Developers List 抄送: 主题: LogFactory.getLog() Dear Commons Developers, Here's a suggestion for the commons

[g...@vmgump]: Project commons-jelly-tags-jaxme (in module commons-jelly) failed

2010-08-07 Thread Gump
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project commons-jelly-tags-jaxme has an issue affecting its community integration

[g...@vmgump]: Project commons-jelly-tags-xml-test (in module commons-jelly) failed

2010-08-07 Thread Gump
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project commons-jelly-tags-xml-test has an issue affecting its community integrat

Re: svn commit: r983141 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java

2010-08-07 Thread James Carman
No worries. Should have run the test myself On Aug 7, 2010 8:36 AM, "Jörg Schaible" wrote: > Hi James, > > James Carman wrote: > >> On Sat, Aug 7, 2010 at 7:37 AM, Jörg Schaible >> wrote: >>> >>> Can you please revert this? They are failing now. The provided generic >>> type was exactly the rea

Re: svn commit: r983141 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java

2010-08-07 Thread Jörg Schaible
Hi James, James Carman wrote: > On Sat, Aug 7, 2010 at 7:37 AM, Jörg Schaible > wrote: >> >> Can you please revert this? They are failing now. The provided generic >> type was exactly the reason for the test! >> > > My IDE (IntelliJ IDEA) gave me a "warning" that said "Explicit type > arguments

Re: svn commit: r983141 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java

2010-08-07 Thread James Carman
On Sat, Aug 7, 2010 at 7:37 AM, Jörg Schaible wrote: > > Can you please revert this? They are failing now. The provided generic type > was exactly the reason for the test! > My IDE (IntelliJ IDEA) gave me a "warning" that said "Explicit type arguments can be inferred" for those two changes. I've

Fwd: svn commit: r983141 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java

2010-08-07 Thread Jörg Schaible
Hi James, jcarman-1odqgaof3lkdnm+yrof...@public.gmane.org wrote: > Author: jcarman > Date: Fri Aug 6 22:58:03 2010 > New Revision: 983141 > > URL: http://svn.apache.org/viewvc?rev=983141&view=rev > Log: > Removing some unnecessary boxing/casting/generics params > > Modified: > commons/pro

Re: [Math] Usage of "NullPointerException"

2010-08-07 Thread Gilles Sadowski
> >There may be some cases where it makes sense to propagate NPEs > >directly. I don't see any in the code now, but I would not rule it > >out for the future. I am fine, however, dispensing with > >MathRuntimeException.createNullPointerException (that's what I meant > >by "wrapped NPE." Technical

Re: [all] Using Nexus - website

2010-08-07 Thread Christian Grobmeier
But hey, this also will stage build artifacts to the staging repos we had before - I thought we would like to avoid this with Nexus. Therefore we cannot use mvn release:prepare, except we want to keep the whole old procedure except the last step. On Sat, Aug 7, 2010 at 9:16 AM, Christian Grobmeier

Re: [all] Using Nexus - website

2010-08-07 Thread Christian Grobmeier
> I am a bit puzzled about the new "create SVN tag" section. Isn't this > exactly what "mvn release:prepare" does? Yes you are right... I used the "manual way" here described in some other commons-documents. I will change it with the parts of the M2-Procedure http://wiki.apache.org/commons/Creatin

[g...@vmgump]: Project commons-lang3 (in module apache-commons) failed

2010-08-07 Thread Gump
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project commons-lang3 has an issue affecting its community integration. This issue