Re: [Math] Usage of "NullPointerException"

2010-08-04 Thread Bill Barker
-- From: "Gilles Sadowski" Sent: Wednesday, August 04, 2010 2:27 PM To: Subject: Re: [Math] Usage of "NullPointerException" > A simpler policy would be to not check for "null" and let the JVM do > it. As > the JVM will do it anyway, it's a redu

Re: [Math] Usage of "NullPointerException"

2010-08-04 Thread Luc Maisonobe
Le 04/08/2010 23:27, Gilles Sadowski a écrit : >>> A simpler policy would be to not check for "null" and let the JVM do it. As >>> the JVM will do it anyway, it's a redundant check when the reference is not >>> null, i.e. most of time (in legitimate usage). >> >> This simpler policy seems fine to m

Re: [Math] Usage of "NullPointerException"

2010-08-04 Thread Gilles Sadowski
> > A simpler policy would be to not check for "null" and let the JVM do it. As > > the JVM will do it anyway, it's a redundant check when the reference is not > > null, i.e. most of time (in legitimate usage). > > This simpler policy seems fine to me. > However, it is an important change from pre

Re: [Math] Usage of "NullPointerException" (Was: Re: svn commit: r981244 - in /commons/proper/math/trunk/src/main: ...)

2010-08-04 Thread Luc Maisonobe
Le 04/08/2010 15:28, Gilles Sadowski a écrit : Why not in the new "exception" package? [The aim being to deprecate the old "MathRuntimeException".] >>> >>> Sorry for that. I'm still not used to the new package. >>> Could you look at the various createXxxException factory methods in and >>

Re: [IO] encapsulating open/close

2010-08-04 Thread Jukka Zitting
Hi, On Wed, Aug 4, 2010 at 12:27 PM, wrote: > Wanted is a convenience method that hides the opening and closing of a file > connection. This would avoid redundancy and failures by accidently not > closing the file connection. I have implemented this before, but now I want > to use apache commons

Re: [IO] encapsulating open/close

2010-08-04 Thread Jukka Zitting
Hi, On Wed, Aug 4, 2010 at 12:27 PM, wrote: > Wanted is a convenience method that hides the opening and closing of a file > connection. This would avoid redundancy and failures by accidently not > closing the file connection. I have implemented this before, but now I want > to use apache commons

Re: [Math] Usage of "NullPointerException" (Was: Re: svn commit: r981244 - in /commons/proper/math/trunk/src/main: ...)

2010-08-04 Thread Gilles Sadowski
> > > Why not in the new "exception" package? > > > [The aim being to deprecate the old "MathRuntimeException".] > > > > Sorry for that. I'm still not used to the new package. > > Could you look at the various createXxxException factory methods in and > > replace them by dedicated exceptions in th

Re: [ANNOUNCE] Apache Commons Lang 3.0 Beta released

2010-08-04 Thread Paul Benedict
Congratulations to everyone on this release. Guava, you have some competition ;-) On Wed, Aug 4, 2010 at 7:37 AM, James Carman wrote: > On Wed, Aug 4, 2010 at 1:36 AM, Henri Yandell wrote: > > > > Lastly - a hearty thank you to the many Java developers who have > > contributed to Commons Lang ov

Re: [ANNOUNCE] Apache Commons Lang 3.0 Beta released

2010-08-04 Thread James Carman
On Wed, Aug 4, 2010 at 1:36 AM, Henri Yandell wrote: > Lastly - a hearty thank you to the many Java developers who have > contributed to Commons Lang over the last 8 years. It is very much a > community built project. > Agreed! We have a great community for Commons Lang. There are a lot of f

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

2010-08-04 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

[Math] Usage of "NullPointerException" (Was: Re: svn commit: r981244 - in /commons/proper/math/trunk/src/main: ...)

2010-08-04 Thread Gilles Sadowski
Hi. > > Why not in the new "exception" package? > > [The aim being to deprecate the old "MathRuntimeException".] > > Sorry for that. I'm still not used to the new package. > Could you look at the various createXxxException factory methods in and > replace them by dedicated exceptions in the new p

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

2010-08-04 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-fileupload has an issue affecting its community integration. This

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

2010-08-04 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

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

2010-08-04 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-chain has an issue affecting its community integration. This issue

[IO] encapsulating open/close

2010-08-04 Thread Sebastian . Petzelberger
Wanted is a convenience method that hides the opening and closing of a file connection. This would avoid redundancy and failures by accidently not closing the file connection. I have implemented this before, but now I want to use apache commons io and I am asking why this isn't there. I could cont

Re: Site update?

2010-08-04 Thread Phil Steitz
Jochen Wiedmann wrote: > Thanks, Phil! > We missed the fact that the files are not world-readable. Sorry, my bad. They need to be readable by apbackup. You (jochen) need to either u+r or run fixPerms to make the files world readable. Phil > > On Tue, Aug 3, 2010 at 12:31 PM, Phil Steitz wrot

Re: [Math] New "exception.util" package

2010-08-04 Thread Phil Steitz
luc.maison...@free.fr wrote: > - "Gilles Sadowski" a écrit : > >> Hi. >> >> I propose to create the "exception.util" package where I would store >> the "MessageFactory" class (currently in the "exception" package). >> In there I'd also create a new "ArgUtils" (better name?) class which >> wou

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

2010-08-04 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-io-test has an issue affecting its community integration. This iss