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

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


The following commit(s) were added to refs/heads/master by this push:
     new 919550e  Javadoc corrections for package-private elements
919550e is described below

commit 919550e5e661af54d495fda0651dd2e05f61c508
Author: Alex Herbert <[email protected]>
AuthorDate: Sun Apr 2 13:48:50 2023 +0100

    Javadoc corrections for package-private elements
---
 .../src/main/java/org/apache/commons/statistics/inference/DD.java   | 4 ++--
 .../org/apache/commons/statistics/inference/InferenceException.java | 6 +++---
 .../commons/statistics/inference/KolmogorovSmirnovDistribution.java | 6 +++---
 .../apache/commons/statistics/inference/SquareMatrixSupport.java    | 2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git 
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/DD.java
 
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/DD.java
index e15fdf4..76f8af3 100644
--- 
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/DD.java
+++ 
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/DD.java
@@ -594,10 +594,10 @@ final class DD {
 
     /**
      * Checks if the number is not normal. This is functionally equivalent to:
-     * <pre>
+     * <pre>{@code
      * final double abs = Math.abs(a);
      * return (abs <= Double.MIN_NORMAL || !(abs <= Double.MAX_VALUE));
-     * </pre>
+     * }</pre>
      *
      * @param a The value.
      * @return true if the value is not normal
diff --git 
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/InferenceException.java
 
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/InferenceException.java
index 68f1a70..c393770 100644
--- 
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/InferenceException.java
+++ 
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/InferenceException.java
@@ -46,13 +46,13 @@ class InferenceException extends IllegalArgumentException {
     static final String ZERO_AT = "%s[%s] is zero";
     /** Error message for "invalid significance" condition when "x not in (0, 
0.5]". */
     static final String INVALID_SIGNIFICANCE = "Not a significance: %s is out 
of range (0, 0.5]";
-    /** Error message for "not strictly positive" condition when "x <= 0". */
+    /** Error message for "not strictly positive" condition when "{@code x <= 
0}". */
     static final String NOT_STRICTLY_POSITIVE = "Number %s is not greater than 
0";
     /** Error message for "no data" condition. */
     static final String NO_DATA = "No data";
-    /** Error message for "too large" condition when "x > y". */
+    /** Error message for "too large" condition when "{@code x > y}". */
     static final String X_GT_Y = "%s > %s";
-    /** Error message for "too large" condition when "x >= y". */
+    /** Error message for "too large" condition when "{@code x >= y}". */
     static final String X_GTE_Y = "%s >= %s";
 
     /** Serializable version identifier. */
diff --git 
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/KolmogorovSmirnovDistribution.java
 
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/KolmogorovSmirnovDistribution.java
index 32238fc..5af7738 100644
--- 
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/KolmogorovSmirnovDistribution.java
+++ 
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/KolmogorovSmirnovDistribution.java
@@ -58,11 +58,11 @@ final class KolmogorovSmirnovDistribution {
      * <p>
      * References:
      * <ol>
-     * <li>Simard, R., & L’Ecuyer, P. (2011).
+     * <li>Simard, R., &amp; L’Ecuyer, P. (2011).
      * <a href="https://doi.org/10.18637/jss.v039.i11";>Computing the Two-Sided 
Kolmogorov-Smirnov Distribution.</a>
      * Journal of Statistical Software, 39(11), 1–18.
      * <li>
-     * Marsaglia, G., Tsang, W. W., & Wang, J. (2003).
+     * Marsaglia, G., Tsang, W. W., &amp; Wang, J. (2003).
      * <a href="https://doi.org/10.18637/jss.v008.i18";>Evaluating Kolmogorov's 
Distribution.</a>
      * Journal of Statistical Software, 8(18), 1–4.
      * </ol>
@@ -664,7 +664,7 @@ final class KolmogorovSmirnovDistribution {
      * van Mulbregt, P. (2018).
      * <a href="https://doi.org/10.48550/arxiv.1802.06966";>Computing the 
Cumulative Distribution Function and Quantiles of the One-sided 
Kolmogorov-Smirnov Statistic</a>
      * arxiv:1802.06966.
-     * <li>Magg & Dicaire (1971).
+     * <li>Magg &amp; Dicaire (1971).
      * <a href="https://doi.org/10.1093/biomet/58.3.653";>On Kolmogorov-Smirnov 
Type One-Sample Statistics</a>
      * Biometrika 58.3 pp. 653–656.
      * </ol>
diff --git 
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/SquareMatrixSupport.java
 
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/SquareMatrixSupport.java
index 0794c69..09a4715 100644
--- 
a/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/SquareMatrixSupport.java
+++ 
b/commons-statistics-inference/src/main/java/org/apache/commons/statistics/inference/SquareMatrixSupport.java
@@ -85,7 +85,7 @@ final class SquareMatrixSupport {
      * distribution as described in:
      * <ul>
      * <li>
-     * Marsaglia, G., Tsang, W. W., & Wang, J. (2003).
+     * Marsaglia, G., Tsang, W. W., &amp; Wang, J. (2003).
      * <a href="https://doi.org/10.18637/jss.v008.i18";>Evaluating Kolmogorov's 
Distribution.</a>
      * Journal of Statistical Software, 8(18), 1–4.
      * </ul>

Reply via email to