You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Luc Maisonobe (JIRA)" <ji...@apache.org> on 2009/07/07 10:38:14 UTC

[jira] Updated: (MATH-194) Review handling and documentation of null parameters

     [ https://issues.apache.org/jira/browse/MATH-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luc Maisonobe updated MATH-194:
-------------------------------

    Fix Version/s:     (was: 2.0)
                   2.1

postponing the issue to 2.1 as it is a minor one not worth delaying release of 2.0.

> Review handling and documentation of null parameters
> ----------------------------------------------------
>
>                 Key: MATH-194
>                 URL: https://issues.apache.org/jira/browse/MATH-194
>             Project: Commons Math
>          Issue Type: Improvement
>    Affects Versions: 1.2
>            Reporter: Michael Heuer
>            Priority: Minor
>             Fix For: 2.1
>
>
> Per discussion on the commons-dev mailing list
> http://tinyurl.com/27cze6
> exerpt:
> Luc wrote:
> > Phil wrote:
> >> Michael wrote:
> >>
> >> Null parameter checks are not consistent.
> >>
> >> Some classes throw NPE (PolynomialFunction, Complex, ComplexUtils,
> >> RealMatrixImpl, MatrixUtils, etc.)
> >>
> >> Some classes throw IAE (UnivariateRealSolverUtils,
> >> StorelessUnivariateStatistic, StatUtils, etc.)
> >>
> >> Many classes do neither (AbstractEstimator, GaussNewtonEstimator,
> >> LevenbergMarquardEstimator, Rotation, RotationOrder, BigMatrix,
> >> BigMatrixImpl, QRDecompositionImpl, RealMatrix, RealMatrixImpl,
> >> AbstractStepInterpolator, DirectSearchOptimizer,
> >> CorrelatedRandomVectorGenerator, EmpiricalDistribution,
> >> EmpiricalDistributionImpl, RandomData, RandomDataImpl,
> >> UncorrelatedRandomVectorGenerator, VectorialCovariance, VectorialMean,
> >> etc.)
> ...
> > Patches welcome on the last one.  The others need to be looked at and
> > discussed individually if we want to change behavior and API
> > documentation.  Javadoc patches welcome.
> ...
> Could you open a JIRA ticket with an objective fix set to 2.0 for this 
> issue ?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.