commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <j...@apache.org>
Subject [jira] Closed: (MATH-194) Review handling and documentation of null parameters
Date Wed, 14 Apr 2010 00:45:54 GMT

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

Phil Steitz closed MATH-194.
----------------------------


> 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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message