Re: svn commit: r545184 - /jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/distribution/PoissonDistributionImpl.java

2007-06-10 Thread Phil Steitz
On 6/7/07, Martin van den Bemt <[EMAIL PROTECTED]> wrote: If the intention is to have a NullPointerException when null is passed, declare it and throw it specifically (that way you are in control of the exception). I think every undocumented nullpointer exception is a bug. I would prefer thro

Re: svn commit: r545184 - /jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/distribution/PoissonDistributionImpl.java

2007-06-07 Thread Martin van den Bemt
If the intention is to have a NullPointerException when null is passed, declare it and throw it specifically (that way you are in control of the exception). I think every undocumented nullpointer exception is a bug. Mvgr, Martin Luc Maisonobe wrote: > [EMAIL PROTECTED] wrote: > >> +/** >>

Re: svn commit: r545184 - /jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/distribution/PoissonDistributionImpl.java

2007-06-07 Thread Luc Maisonobe
[EMAIL PROTECTED] wrote: > +/** > + * Modify the normal distribution used to compute normal approximations. > + * The caller is responsible for insuring the normal distribution has the > + * proper parameter settings. > + * @param value the new distribution > + * @since 1.2

svn commit: r545184 - /jakarta/commons/proper/math/trunk/src/java/org/apache/commons/math/distribution/PoissonDistributionImpl.java

2007-06-07 Thread brentworden
Author: brentworden Date: Thu Jun 7 06:55:36 2007 New Revision: 545184 URL: http://svn.apache.org/viewvc?view=rev&rev=545184 Log: Removed dependency on DistributionFactory. Added settable normal distribution field. Modified: jakarta/commons/proper/math/trunk/src/java/org/apache/commons/ma