Re: [math] Is this good practice?

2012-09-10 Thread Sébastien Brisard
Hi, 2012/9/11 Gilles Sadowski : > On Mon, Sep 10, 2012 at 10:07:11PM +0200, Benedikt Ritter wrote: >> Hi, >> >> 2012/9/10 Luc Maisonobe : >> > Le 10/09/2012 21:08, Sébastien Brisard a écrit : >> >> Hi, >> > >> > Hi Sébastien, >> > >> >> I thought it was not good practice to rely on exception in >>

Re: [Math] About "NullArgumentException"

2012-09-10 Thread Sébastien Brisard
Hi, 2012/9/11 Gilles Sadowski : > On Mon, Sep 10, 2012 at 08:47:35PM +0200, Sébastien Brisard wrote: >> Hi >> What should I do there? > > If we adopt the "flexible" policy (cf. other post), then you can do what you > want. ;-) > This is absolutely what I do not want to do... I've already realized

Re: [Math] About "NullArgumentException"

2012-09-10 Thread Sébastien Brisard
Hello, 2012/9/11 Gilles Sadowski : > On Mon, Sep 10, 2012 at 01:31:12PM -0700, Phil Steitz wrote: >> On 9/10/12 11:47 AM, Sébastien Brisard wrote: >> > Hi >> > What should I do there? >> > I'm trying to work on MATH-854. It turns out that FieldElement.add >> > throws a NAE. Should I catch it below

[GUMP@vmgump]: Project commons-dbutils (in module apache-commons) failed

2012-09-10 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-dbutils has an issue affecting its community integration. This iss

[GUMP@vmgump]: Project commons-proxy-test (in module apache-commons) failed

2012-09-10 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-proxy-test has an issue affecting its community integration. This

[GUMP@vmgump]: Project commons-chain2 (in module apache-commons) failed

2012-09-10 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-chain2 has an issue affecting its community integration. This issu

[GUMP@vmgump]: Project commons-digester3 (in module apache-commons) failed

2012-09-10 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-digester3 has an issue affecting its community integration. This i

[GUMP@vmgump]: Project commons-dbcp2 (in module apache-commons) failed

2012-09-10 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-dbcp2 has an issue affecting its community integration. This issue

[GUMP@vmgump]: Project commons-dbcp (in module commons-dbcp-1.x) failed

2012-09-10 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-dbcp has an issue affecting its community integration. This issue

[CANCEL][VOTE] Release Commons Codec 1.7-RC1

2012-09-10 Thread Gary Gregory
This VOTE is canceled to fix: - test failures on the IBM JVM - release notes (for the above), - and a missing ASF header. I will reload an RC2 tomorrow. Thank you all and especially Sebb for your diligence. Gary On Mon, Sep 10, 2012 at 7:02 PM, sebb wrote: > With IBM Java 1.6: > > java versi

Re: [Math] About "NullArgumentException"

2012-09-10 Thread James Ring
Hey Phil On Mon, Sep 10, 2012 at 5:09 PM, Phil Steitz wrote: > On 9/10/12 3:43 PM, James Ring wrote: >>> try { >>>// Call CM >>> } catch (NullPointerException e) { >>>// Handle NPE (raised by the JVM _or_ by CM). >>> } >> Is this going to be the typical case? NPE indicates a programmin

Re: [Math] About "NullArgumentException"

2012-09-10 Thread Phil Steitz
On 9/10/12 3:43 PM, James Ring wrote: > Hey, > > I'm a disinterested third party (not a CM user) but I thought I should > chime in my two cents worth... > > On Sun, Sep 9, 2012 at 4:34 AM, Gilles Sadowski > wrote: >> Hi. >> >> Further discussion on the JIRA page >> https://issues.apache.org/jira

Re: [Math] About "NullArgumentException"

2012-09-10 Thread Phil Steitz
On 9/10/12 3:46 PM, Gilles Sadowski wrote: > On Mon, Sep 10, 2012 at 08:47:35PM +0200, Sébastien Brisard wrote: >> Hi >> What should I do there? > If we adopt the "flexible" policy (cf. other post), then you can do what you > want. ;-) Good one :) > >> I'm trying to work on MATH-854. It turns out

Re: [VOTE] Release Commons Codec 1.7-RC1

2012-09-10 Thread sebb
With IBM Java 1.6: java version "1.6.0" Java(TM) SE Runtime Environment (build pwi3260-20071123_01) IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260-20071121_15015 (JIT enabled) J9VM - 20071121_015015_lHdSMR JIT - r9_20071121_1330 GC - 20071031_AA) JCL - 20071118_01 [Th

Re: [Math] About "NullArgumentException"

2012-09-10 Thread Gilles Sadowski
On Mon, Sep 10, 2012 at 08:47:35PM +0200, Sébastien Brisard wrote: > Hi > What should I do there? If we adopt the "flexible" policy (cf. other post), then you can do what you want. ;-) > I'm trying to work on MATH-854. It turns out that FieldElement.add > throws a NAE. Should I catch it below, an

Re: [Math] About "NullArgumentException"

2012-09-10 Thread James Ring
Hey, I'm a disinterested third party (not a CM user) but I thought I should chime in my two cents worth... On Sun, Sep 9, 2012 at 4:34 AM, Gilles Sadowski wrote: > Hi. > > Further discussion on the JIRA page > https://issues.apache.org/jira/browse/MATH-856 > cannot reach a consensus on solving

Re: [Math] About "NullArgumentException"

2012-09-10 Thread Gilles Sadowski
On Mon, Sep 10, 2012 at 01:31:12PM -0700, Phil Steitz wrote: > On 9/10/12 11:47 AM, Sébastien Brisard wrote: > > Hi > > What should I do there? > > I'm trying to work on MATH-854. It turns out that FieldElement.add > > throws a NAE. Should I catch it below, and rethrow it with a more > > detailed m

Re: [math] Is this good practice?

2012-09-10 Thread Gilles Sadowski
On Mon, Sep 10, 2012 at 10:07:11PM +0200, Benedikt Ritter wrote: > Hi, > > 2012/9/10 Luc Maisonobe : > > Le 10/09/2012 21:08, Sébastien Brisard a écrit : > >> Hi, > > > > Hi Sébastien, > > > >> I thought it was not good practice to rely on exception in > >> unexceptional circumstances. In ArrayFie

Re: [configuration] Plan for 2.0

2012-09-10 Thread sebb
On 10 September 2012 20:33, Oliver Heger wrote: > Am 09.09.2012 14:26, schrieb sebb: > >> On 8 September 2012 15:45, Oliver Heger >> wrote: >>> >>> Am 08.09.2012 03:44, schrieb sebb: >>> On 7 September 2012 20:46, Oliver Heger wrote: > > > Hi all, > > the pom was up

Re: [VOTE] Release Commons Codec 1.7-RC1

2012-09-10 Thread Gary Gregory
On Mon, Sep 10, 2012 at 4:01 PM, Oliver Heger wrote: > Build works fine with Maven and ant on Windows 7 with JDK 1.6. Artifacts > look good, site, too, except for the following very minor points (in > addition to the things Simone already discovered): > - The JIRA report is just a blank page (I th

Re: [VOTE] Release Commons Codec 1.7-RC1

2012-09-10 Thread Gary Gregory
On Mon, Sep 10, 2012 at 4:01 PM, Oliver Heger wrote: > Build works fine with Maven and ant on Windows 7 with JDK 1.6. Artifacts > look good, site, too, except for the following very minor points (in > addition to the things Simone already discovered): > - The JIRA report is just a blank page (I th

Re: [VOTE] Release Commons Codec 1.7-RC1

2012-09-10 Thread Gary Gregory
Thank you for the review. See below. On Mon, Sep 10, 2012 at 2:25 PM, Simone Tripodi wrote: > Hi again Gary, > > Not a blocker at all, but > > * RAT plugin shows Sha2CryptTest class does not have the ALv2 license > header; > This is a bad one and would be a -1 from me. Fixed in SVN. I'll do an

Re: [Math] About "NullArgumentException"

2012-09-10 Thread Phil Steitz
On 9/10/12 11:47 AM, Sébastien Brisard wrote: > Hi > What should I do there? > I'm trying to work on MATH-854. It turns out that FieldElement.add > throws a NAE. Should I catch it below, and rethrow it with a more > detailed message (including the entry index)? IMO, yes. I would also check v itse

Re: [VOTE] Release Commons Codec 1.7-RC1

2012-09-10 Thread Dennis Lundberg
On 2012-09-10 22:01, Oliver Heger wrote: > Build works fine with Maven and ant on Windows 7 with JDK 1.6. Artifacts > look good, site, too, except for the following very minor points (in > addition to the things Simone already discovered): > - The JIRA report is just a blank page (I think during bu

Re: [math] Is this good practice?

2012-09-10 Thread Benedikt Ritter
Hi, 2012/9/10 Luc Maisonobe : > Le 10/09/2012 21:08, Sébastien Brisard a écrit : >> Hi, > > Hi Sébastien, > >> I thought it was not good practice to rely on exception in >> unexceptional circumstances. In ArrayFieldVector, there are numerous >> occurences of the following pattern >> >> public

Re: [VOTE] Release Commons Codec 1.7-RC1

2012-09-10 Thread Oliver Heger
Build works fine with Maven and ant on Windows 7 with JDK 1.6. Artifacts look good, site, too, except for the following very minor points (in addition to the things Simone already discovered): - The JIRA report is just a blank page (I think during build an exception is thrown - maybe an incompat

Re: [math] Is this good practice?

2012-09-10 Thread Luc Maisonobe
Le 10/09/2012 21:08, Sébastien Brisard a écrit : > Hi, Hi Sébastien, > I thought it was not good practice to rely on exception in > unexceptional circumstances. In ArrayFieldVector, there are numerous > occurences of the following pattern > > public FieldVector add(FieldVector v) > t

Re: [configuration] Plan for 2.0

2012-09-10 Thread Oliver Heger
Am 09.09.2012 14:26, schrieb sebb: On 8 September 2012 15:45, Oliver Heger wrote: Am 08.09.2012 03:44, schrieb sebb: On 7 September 2012 20:46, Oliver Heger wrote: Hi all, the pom was updated to make 2.0-SNAPSHOT the current development version. This means we are free to implement major c

[math] Is this good practice?

2012-09-10 Thread Sébastien Brisard
Hi, I thought it was not good practice to rely on exception in unexceptional circumstances. In ArrayFieldVector, there are numerous occurences of the following pattern public FieldVector add(FieldVector v) throws DimensionMismatchException { try { return add((ArrayF

[vfs] Problem running VFS on Win 2008

2012-09-10 Thread Sean McNeill
I have an archive processor that extends Apache VFS. On windows XP it runs as designed, however; when I run this process on Windows 2008, it seams like my FileEventListeners are not firing on file change or on file add. Has anyone else ever experienced this problem? The source was compiled with 1.7

Re: [Math] About "NullArgumentException"

2012-09-10 Thread Sébastien Brisard
Hi What should I do there? I'm trying to work on MATH-854. It turns out that FieldElement.add throws a NAE. Should I catch it below, and rethrow it with a more detailed message (including the entry index)? Best, Sébastien /** {@inheritDoc} */ public FieldVector add(FieldVector v)

Re: [VOTE] Release Commons Codec 1.7-RC1

2012-09-10 Thread Simone Tripodi
Hi again Gary, Not a blocker at all, but * RAT plugin shows Sha2CryptTest class does not have the ALv2 license header; * question: Clirr plugin shows some breakage, they all look like "internal stuff", did you discuss about these breakage? Apologize but I didn't follow the [codec] thread; Tri

[GUMP@vmgump]: Project commons-vfs2 (in module apache-commons) failed

2012-09-10 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-vfs2 has an issue affecting its community integration. This issue

Re: [Math] About "NullArgumentException"

2012-09-10 Thread Phil Steitz
On 9/9/12 11:11 PM, Sébastien Brisard wrote: > Hi, > > 2012/9/10 Gilles Sadowski : >> On Sun, Sep 09, 2012 at 09:16:51AM -0700, Phil Steitz wrote: >>> On 9/9/12 4:34 AM, Gilles Sadowski wrote: Hi. Further discussion on the JIRA page https://issues.apache.org/jira/browse/MATH-8

Re: [Math] About "NullArgumentException"

2012-09-10 Thread Phil Steitz
On 9/10/12 3:44 AM, Gilles Sadowski wrote: >>> [...] >>> >>> P.S. Is there an occurrence in CM, where a method can be passed a null >>> argument? >> Yes. One example is the constructor for EmpiricalDistribution that >> takes a RandomGenerator as argument. > Thanks for finding one of those fe

Re: [VOTE] Release Commons Codec 1.7-RC1

2012-09-10 Thread Gary Gregory
On Mon, Sep 10, 2012 at 10:36 AM, Simone Tripodi wrote: > Hi Gary, > > how you manage the non-maven assemblies? I mean, if the vote passes, > you just download them from Nexus to the dist machine? > Yes, the process is manual. Gary > > TIA, > -Simo > > http://people.apache.org/~simonetripodi/ >

Re: [VOTE] Release Commons Codec 1.7-RC1

2012-09-10 Thread Simone Tripodi
Hi Gary, how you manage the non-maven assemblies? I mean, if the vote passes, you just download them from Nexus to the dist machine? TIA, -Simo http://people.apache.org/~simonetripodi/ http://simonetripodi.livejournal.com/ http://twitter.com/simonetripodi http://www.99soft.org/ On Mon, Sep 10,

[VOTE] Release Commons Codec 1.7-RC1

2012-09-10 Thread Gary Gregory
Hello All: This is a VOTE to release Commons Codec 1.7-RC1. Changes in this version include: New features: o CODEC-157: DigestUtils: Add MD2 APIs. Thanks to ggregory. o CODEC-156: DigestUtils: add APIs named after standard algorithm name SHA-1. Thanks to ggregory. o CODEC-155: DigestUtils.get

[GUMP@vmgump]: Project bcel (in module apache-commons) failed

2012-09-10 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 bcel has an issue affecting its community integration. This issue affects

[GUMP@vmgump]: Project commons-io (in module apache-commons) failed

2012-09-10 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 has an issue affecting its community integration. This issue af

Re: svn commit: r1382770 - /commons/proper/codec/trunk/src/changes/changes.xml

2012-09-10 Thread Gary Gregory
On Mon, Sep 10, 2012 at 7:53 AM, Thomas Neidhart wrote: > On Mon, Sep 10, 2012 at 1:43 PM, wrote: > > > Author: ggregory > > Date: Mon Sep 10 11:43:48 2012 > > New Revision: 1382770 > > > > URL: http://svn.apache.org/viewvc?rev=1382770&view=rev > > Log: > > Preparing for release 1.7 RC1. > > > >

Re: svn commit: r1382770 - /commons/proper/codec/trunk/src/changes/changes.xml

2012-09-10 Thread Thomas Neidhart
On Mon, Sep 10, 2012 at 1:43 PM, wrote: > Author: ggregory > Date: Mon Sep 10 11:43:48 2012 > New Revision: 1382770 > > URL: http://svn.apache.org/viewvc?rev=1382770&view=rev > Log: > Preparing for release 1.7 RC1. > > Modified: > commons/proper/codec/trunk/src/changes/changes.xml > > Modifie

Re: [Math] About "NullArgumentException"

2012-09-10 Thread Gilles Sadowski
> > [...] > > > > P.S. Is there an occurrence in CM, where a method can be passed a null > > argument? > > Yes. One example is the constructor for EmpiricalDistribution that > takes a RandomGenerator as argument. Thanks for finding one of those few examples. The first remark (concerning th

Re: [Math] About "NullArgumentException"

2012-09-10 Thread Luc Maisonobe
Le 10/09/2012 08:11, Sébastien Brisard a écrit : > Hi, > > 2012/9/10 Gilles Sadowski : >> On Sun, Sep 09, 2012 at 09:16:51AM -0700, Phil Steitz wrote: >>> On 9/9/12 4:34 AM, Gilles Sadowski wrote: Hi. Further discussion on the JIRA page https://issues.apache.org/jira/browse/M