Gilles Sadowski created MATH-1665:
-------------------------------------

             Summary: Shouldn't the build fail on missing Javadoc?
                 Key: MATH-1665
                 URL: https://issues.apache.org/jira/browse/MATH-1665
             Project: Commons Math
          Issue Type: Task
          Components: legacy, legacy-core
            Reporter: Gilles Sadowski


Running maven (default goal)  results in a successful build, even though some 
Javadoc is (partly) missing; e.g.
{code}
    /**
     * @param lineSearcher
     */
    protected void setLineSearcher(LineSearch lineSearcher) {
        this.lineSearcher = lineSearcher;
    }
{code}
results in
{noformat}
[WARNING] * @param lineSearcher
[WARNING] ^
[WARNING] 
/home/gilles/gilles/devel/java/apache/commons-math/trunk/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/gradient/GradientLikeOptimizer.java:209:
 warning: no description for @param
{noformat}
whereas, according to our "full documentation" requirement, the build should 
fail.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to