You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2022/03/03 11:10:06 UTC

[commons-math] branch master updated: HTML5 javadoc comments.

This is an automated email from the ASF dual-hosted git repository.

erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git


The following commit(s) were added to refs/heads/master by this push:
     new 57dda85  HTML5 javadoc comments.
57dda85 is described below

commit 57dda85533fbac18389a3ddc70e3640aa4484a91
Author: Gilles Sadowski <gi...@gmail.com>
AuthorDate: Thu Mar 3 12:02:58 2022 +0100

    HTML5 javadoc comments.
    
    As of Java 11, the "javadoc" command requires compliance.
---
 .../legacy/fitting/leastsquares/LevenbergMarquardtOptimizer.java    | 3 ++-
 .../org/apache/commons/math4/legacy/linear/RealLinearOperator.java  | 2 +-
 .../math4/legacy/ode/nonstiff/GraggBulirschStoerIntegrator.java     | 3 ++-
 .../legacy/ode/nonstiff/GraggBulirschStoerStepInterpolator.java     | 3 ++-
 .../main/java/org/apache/commons/math4/legacy/ode/package-info.java | 6 ++++--
 .../commons/math4/legacy/ode/sampling/FieldStepNormalizer.java      | 3 ++-
 .../apache/commons/math4/legacy/ode/sampling/StepNormalizer.java    | 3 ++-
 .../apache/commons/math4/legacy/stat/ranking/NaturalRanking.java    | 3 ++-
 .../commons/math4/legacy/fitting/leastsquares/MinpackTest.java      | 2 +-
 .../scalar/gradient/NonLinearConjugateGradientOptimizerTest.java    | 3 ++-
 .../org/apache/commons/math4/transform/FastHadamardTransform.java   | 6 ++++--
 11 files changed, 24 insertions(+), 13 deletions(-)

diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LevenbergMarquardtOptimizer.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LevenbergMarquardtOptimizer.java
index 14518e6..a1f37bd 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LevenbergMarquardtOptimizer.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/fitting/leastsquares/LevenbergMarquardtOptimizer.java
@@ -57,7 +57,8 @@ import org.apache.commons.numbers.core.Precision;
  * href="http://www.netlib.org/minpack/disclaimer">here</a>, for convenience, it
  * is reproduced below.
  *
- * <table style="text-align: center; background-color: #E0E0E0" border="0" width="80%" cellpadding="10" summary="MINPACK redistribution policy">
+ * <table style="text-align: center; background-color: #E0E0E0" border="">
+ * <caption>MINPACK redistribution policy</caption>
  * <tr><td>
  *    Minpack Copyright Notice (1999) University of Chicago.
  *    All rights reserved
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealLinearOperator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealLinearOperator.java
index 2f5024d..3583363 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealLinearOperator.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/linear/RealLinearOperator.java
@@ -38,7 +38,7 @@ import org.apache.commons.math4.legacy.exception.DimensionMismatchException;
  * <br>
  *
  * <dl>
- *  <dt><a name="BARR1994">Barret et al. (1994)</a></dt>
+ *  <dt><a id="BARR1994">Barret et al. (1994)</a></dt>
  *  <dd>
  *   R. Barrett, M. Berry, T. F. Chan, J. Demmel, J. M. Donato, J. Dongarra,
  *   V. Eijkhout, R. Pozo, C. Romine and H. Van der Vorst,
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/GraggBulirschStoerIntegrator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/GraggBulirschStoerIntegrator.java
index 9916e0b..ba6dd0e 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/GraggBulirschStoerIntegrator.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/GraggBulirschStoerIntegrator.java
@@ -62,7 +62,8 @@ import org.apache.commons.math4.core.jdkmath.JdkMath;
  * href="http://www.unige.ch/~hairer/prog/licence.txt">here</a>, for
  * convenience, it is reproduced below.</p>
  *
- * <table border="0" width="80%" cellpadding="10" style="text-align: center; background-color: #E0E0E0" summary="odex redistribution policy">
+ * <table border="" style="text-align: center; background-color: #E0E0E0">
+ * <caption>odex redistribution policy</caption>
  * <tr><td>Copyright (c) 2004, Ernst Hairer</td></tr>
  *
  * <tr><td>Redistribution and use in source and binary forms, with or
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/GraggBulirschStoerStepInterpolator.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/GraggBulirschStoerStepInterpolator.java
index 41f5de4..7c095ec 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/GraggBulirschStoerStepInterpolator.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/nonstiff/GraggBulirschStoerStepInterpolator.java
@@ -42,7 +42,8 @@ import org.apache.commons.math4.core.jdkmath.JdkMath;
  * href="http://www.unige.ch/~hairer/prog/licence.txt">here</a>, for
  * convenience, it is reproduced below.</p>
  *
- * <table border="0" width="80%" cellpadding="10" style="text-align: center; background-color: #E0E0E0;" summary="odex redistribution policy">
+ * <table border="" style="text-align: center; background-color: #E0E0E0;">
+ * <caption>odex redistribution policy</caption>
  * <tr><td>Copyright (c) 2004, Ernst Hairer</td></tr>
  *
  * <tr><td>Redistribution and use in source and binary forms, with or
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/package-info.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/package-info.java
index 11acd92..73e6974 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/package-info.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/package-info.java
@@ -127,7 +127,8 @@
  * automatic guess is wrong.
  * </p>
  *
- * <table border="1" style="text-align: center" summary="Fixed Step Integrators">
+ * <table border="1" style="text-align: center">
+ * <caption>Fixed Step Integrators</caption>
  * <tr style="background-color: #CCCCFF"><td colspan=2 style="font-size: x-large">Fixed Step Integrators</td></tr>
  * <tr style="background-color: #EEEEFF; font-size: larger"><td>Name</td><td>Order</td></tr>
  * <tr><td>{@link org.apache.commons.math4.legacy.ode.nonstiff.EulerIntegrator Euler}</td><td>1</td></tr>
@@ -138,7 +139,8 @@
  * <tr><td>{@link org.apache.commons.math4.legacy.ode.nonstiff.LutherIntegrator Luther}</td><td>6</td></tr>
  * </table>
  *
- * <table border="1" style="text-align: center" summary="Adaptive Stepsize Integrators">
+ * <table border="1" style="text-align: center">
+ * <caption>Adaptive Stepsize Integrators</caption>
  * <tr style="background-color: #CCCCFF"><td colspan=3 style="font-size: x-large">Adaptive Stepsize Integrators</td></tr>
  * <tr style="background-color: #EEEEFF; font-size: larger"><td>Name</td><td>Integration Order</td><td>Error Estimation Order</td></tr>
  * <tr><td>{@link org.apache.commons.math4.legacy.ode.nonstiff.HighamHall54Integrator Higham and Hall}</td><td>5</td><td>4</td></tr>
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/sampling/FieldStepNormalizer.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/sampling/FieldStepNormalizer.java
index 94cd515..15b1a52 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/sampling/FieldStepNormalizer.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/sampling/FieldStepNormalizer.java
@@ -42,7 +42,8 @@ import org.apache.commons.numbers.core.Precision;
  * it needs (time steps longer or shorter than the fixed time step and
  * non-integer ratios are all allowed).</p>
  *
- * <table border="1" style="text-align: center" summary="Examples (step size = 0.5)">
+ * <table border="1" style="text-align: center">
+ * <caption>Examples (step size = 0.5)</caption>
  * <tr style="background-color: #CCCCFF"><td colspan=6 style="font-size: x-large">Examples (step size = 0.5)</td></tr>
  * <tr style="background-color: #EEEEFF; font-size: large"><td>Start time</td><td>End time</td>
  *  <td>Direction</td><td>{@link StepNormalizerMode Mode}</td>
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/sampling/StepNormalizer.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/sampling/StepNormalizer.java
index 636d9ee..296295a 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/sampling/StepNormalizer.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ode/sampling/StepNormalizer.java
@@ -40,7 +40,8 @@ import org.apache.commons.numbers.core.Precision;
  * it needs (time steps longer or shorter than the fixed time step and
  * non-integer ratios are all allowed).</p>
  *
- * <table border="1" style="text-align: center" summary="Examples (step size = 0.5)">
+ * <table border="1" style="text-align: center">
+ * <caption>Examples (step size = 0.5)</caption>
  * <tr style="background-color: #CCCCFF"><td style="font-size: x-large">Examples (step size = 0.5)</td></tr>
  * <tr style="background-color: #EEEEFF; font-size: large"><td>Start time</td><td>End time</td>
  *  <td>Direction</td><td>{@link StepNormalizerMode Mode}</td>
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/ranking/NaturalRanking.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/ranking/NaturalRanking.java
index d1103fe..31c081d 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/ranking/NaturalRanking.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/ranking/NaturalRanking.java
@@ -41,7 +41,8 @@ import org.apache.commons.math4.core.jdkmath.JdkMath;
  * {@link UniformRandomProvider random generator} may be supplied as a
  * constructor argument.</p>
  * <p>Examples:
- * <table border="1" cellpadding="3" summary="Examples">
+ * <table border="">
+ * <caption>Examples</caption>
  * <tr><th colspan="3">
  * Input data: (20, 17, 30, 42.3, 17, 50, Double.NaN, Double.NEGATIVE_INFINITY, 17)
  * </th></tr>
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/fitting/leastsquares/MinpackTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/fitting/leastsquares/MinpackTest.java
index 2eb7d18..035d61b 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/fitting/leastsquares/MinpackTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/fitting/leastsquares/MinpackTest.java
@@ -36,7 +36,7 @@ import org.junit.Test;
  * href="http://www.netlib.org/minpack/disclaimer">here</a>, for
  * convenience, it is reproduced below.</p>
 
- * <table border="0" width="80%" cellpadding="10" align="center" bgcolor="#E0E0E0">
+ * <table border="" align="center" bgcolor="#E0E0E0">
  * <tr><td>
  *    Minpack Copyright Notice (1999) University of Chicago.
  *    All rights reserved
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/gradient/NonLinearConjugateGradientOptimizerTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/gradient/NonLinearConjugateGradientOptimizerTest.java
index 8f7c13f..acd843f 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/gradient/NonLinearConjugateGradientOptimizerTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/gradient/NonLinearConjugateGradientOptimizerTest.java
@@ -42,7 +42,8 @@ import org.junit.Test;
  * href="http://www.netlib.org/minpack/disclaimer">here</a>, for
  * convenience, it is reproduced below.</p>
  *
- * <table style="text-align: center; background-color: #E0E0E0" border="0" width="80%" cellpadding="10" summary="MINPACK redistribution policy">
+ * <table style="text-align: center; background-color: #E0E0E0" border="">
+ * <caption>MINPACK redistribution policy</caption>
  * <tr><td>
  *    Minpack Copyright Notice (1999) University of Chicago.
  *    All rights reserved
diff --git a/commons-math-transform/src/main/java/org/apache/commons/math4/transform/FastHadamardTransform.java b/commons-math-transform/src/main/java/org/apache/commons/math4/transform/FastHadamardTransform.java
index c670211..f0c5486 100644
--- a/commons-math-transform/src/main/java/org/apache/commons/math4/transform/FastHadamardTransform.java
+++ b/commons-math-transform/src/main/java/org/apache/commons/math4/transform/FastHadamardTransform.java
@@ -81,7 +81,8 @@ public class FastHadamardTransform implements RealTransform {
      * <li><b>y</b> is the output vector (Fast Hadamard transform of <b>x</b>),</li>
      * <li>a and b are helper rows.</li>
      * </ol>
-     * <table style="text-align: center" border="1" cellpadding="3" summary="manual calculation for N=8">
+     * <table style="text-align: center" border="">
+     * <caption>manual calculation for N=8</caption>
      * <tbody style="text-align: center">
      * <tr>
      *     <th>x</th>
@@ -173,7 +174,8 @@ public class FastHadamardTransform implements RealTransform {
      * <li><em>Algorithm from <a href="http://www.archive.chipcenter.com/dsp/DSP000517F1.html">chipcenter</a>.</em></li>
      * </ol>
      * <h3>Visually</h3>
-     * <table border="1" cellpadding="3" style="text-align: center" summary="chipcenter algorithm">
+     * <table border="" style="text-align: center">
+     * <caption>chipcenter algorithm</caption>
      * <tbody style="text-align: center">
      * <tr>
      *     <td></td><th>0</th><th>1</th><th>2</th><th>3</th>