diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LeastSquaresBuilder.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LeastSquaresBuilder.java index 2280c2b6f..782ab7295 100644 --- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LeastSquaresBuilder.java +++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LeastSquaresBuilder.java @@ -81,7 +81,7 @@ public LeastSquaresProblem build() { * Configure the max evaluations. * * @param newMaxEvaluations the maximum number of evaluations permitted. - * @return this + * @return {@code this} instance. */ public LeastSquaresBuilder maxEvaluations(final int newMaxEvaluations) { this.maxEvaluations = newMaxEvaluations; @@ -92,7 +92,7 @@ public LeastSquaresBuilder maxEvaluations(final int newMaxEvaluations) { * Configure the max iterations. * * @param newMaxIterations the maximum number of iterations permitted. - * @return this + * @return {@code this} instance. */ public LeastSquaresBuilder maxIterations(final int newMaxIterations) { this.maxIterations = newMaxIterations; @@ -103,7 +103,7 @@ public LeastSquaresBuilder maxIterations(final int newMaxIterations) { * Configure the convergence checker. * * @param newChecker the convergence checker. - * @return this + * @return {@code this} instance. */ public LeastSquaresBuilder checker(final ConvergenceChecker newChecker) { this.checker = newChecker; @@ -116,7 +116,7 @@ public LeastSquaresBuilder checker(final ConvergenceChecker newCheck * This function is an overloaded version of {@link #checker(ConvergenceChecker)}. * * @param newChecker the convergence checker. - * @return this + * @return {@code this} instance. */ public LeastSquaresBuilder checkerPair(final ConvergenceChecker newChecker) { return this.checker(LeastSquaresFactory.evaluationChecker(newChecker)); @@ -127,7 +127,7 @@ public LeastSquaresBuilder checkerPair(final ConvergenceChecker