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.0 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.