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

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


The following commit(s) were added to refs/heads/master by this push:
     new 3b555b7  Fix Javadoc heading levels
3b555b7 is described below

commit 3b555b734032a930acf582dc74458b0af1198ef6
Author: Sebb <s...@apache.org>
AuthorDate: Fri Jul 31 15:18:34 2020 +0100

    Fix Javadoc heading levels
---
 src/main/java/org/apache/commons/validator/package.html    | 14 +++++++-------
 .../commons/validator/routines/checkdigit/CheckDigit.java  |  2 +-
 .../routines/checkdigit/ModulusTenCheckDigit.java          |  6 +++---
 .../org/apache/commons/validator/routines/package.html     | 10 +++++-----
 4 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/src/main/java/org/apache/commons/validator/package.html 
b/src/main/java/org/apache/commons/validator/package.html
index 66ba625..bd51873 100644
--- a/src/main/java/org/apache/commons/validator/package.html
+++ b/src/main/java/org/apache/commons/validator/package.html
@@ -31,7 +31,7 @@ The Validator package provides validation for JavaBeans based 
on an xml file.
 </div>
 
 <a id="doc.Intro"></a>
-<h3>Introduction</h3>
+<h2>Introduction</h2>
 
 <p>A common issue when receiving data either electronically or from
 user input is verifying the integrity of the data.  This work is
@@ -56,7 +56,7 @@ speed development and maintenance of validation rules.
 </ul>
 
 <a id="doc.Overview"></a>
-<h3>Overview</h3>
+<h2>Overview</h2>
 <p>
    The Commons Validator is a basic validation framework that
    lets you define validation rules for a JavaBean in an xml file.
@@ -79,7 +79,7 @@ speed development and maintenance of validation rules.
 </p>
 
 <a id="doc.Resources"></a>
-<h3>Resources</h3>
+<h2>Resources</h2>
 <p>
    After a Validator instance is created, instances of
    classes can be added to it to be passed into
@@ -136,7 +136,7 @@ speed development and maintenance of validation rules.
 
 
 <a id="doc.Usage"></a>
-<h3>Usage Example</h3>
+<h2>Usage Example</h2>
 <p>
    This is a basic example setting up a required validator for
    a name bean.  This example is a working unit test (reference
@@ -153,7 +153,7 @@ speed development and maintenance of validation rules.
 </p>
 
 <a id="doc.Usage.xml"></a>
-<h4>XML Example</h4>
+<h2>XML Example</h2>
 <p>
    Definition of a 'required' pluggable validator.<br>
 <pre>
@@ -195,7 +195,7 @@ speed development and maintenance of validation rules.
 </pre>
 
 <a id="doc.Usage.validator"></a>
-<h4>Validator Example</h4>
+<h2>Validator Example</h2>
 <p>
 Excerpts from org.apache.commons.validator.RequiredNameTest
 </p>
@@ -228,7 +228,7 @@ if (results.get("firstName") == null) {
 </pre>
 
 <a id="doc.Usage.pluggableValidator"></a>
-<h4>Pluggable Validator Example</h4>
+<h2>Pluggable Validator Example</h2>
 <p>
 Validation method defined in the 'required' pluggable validator
 (excerpt from org.apache.commons.validator.TestValidator).
diff --git 
a/src/main/java/org/apache/commons/validator/routines/checkdigit/CheckDigit.java
 
b/src/main/java/org/apache/commons/validator/routines/checkdigit/CheckDigit.java
index bea38cd..0193f2f 100644
--- 
a/src/main/java/org/apache/commons/validator/routines/checkdigit/CheckDigit.java
+++ 
b/src/main/java/org/apache/commons/validator/routines/checkdigit/CheckDigit.java
@@ -38,7 +38,7 @@ package org.apache.commons.validator.routines.checkdigit;
  * CheckDigit is used by the new generic @link CodeValidator} implementation.
  * </p>
  *
- * <h3>Implementations</h3>
+ * <h2>Implementations</h2>
  * See the 
  * <a href="package-summary.html">Package Summary</a> for a full
  * list of implementations provided within Commons Validator.
diff --git 
a/src/main/java/org/apache/commons/validator/routines/checkdigit/ModulusTenCheckDigit.java
 
b/src/main/java/org/apache/commons/validator/routines/checkdigit/ModulusTenCheckDigit.java
index 50e2618..7637226 100644
--- 
a/src/main/java/org/apache/commons/validator/routines/checkdigit/ModulusTenCheckDigit.java
+++ 
b/src/main/java/org/apache/commons/validator/routines/checkdigit/ModulusTenCheckDigit.java
@@ -23,7 +23,7 @@ import org.apache.commons.validator.routines.CodeValidator;
 /**
  * General Modulus 10 Check Digit calculation/validation.
  *
- * <h3>How if Works</h3>
+ * <h2>How it Works</h2>
  * <p>
  * This implementation calculates/validates the check digit in the following
  * way:
@@ -42,7 +42,7 @@ import org.apache.commons.validator.routines.CodeValidator;
  * <li>The <i>weighted values</i> of each character are totalled.</li>
  * <li>The total modulo 10 will be zero for a code with a valid Check 
Digit.</li>
  * </ul>
- * <h3>Limitations</h3>
+ * <h2>Limitations</h2>
  * <p>
  * This implementation has the following limitations:
  * <ul>
@@ -58,7 +58,7 @@ import org.apache.commons.validator.routines.CodeValidator;
  * <b>Note:</b> This implementation can be combined with the
  * {@link CodeValidator} in order to ensure the length and characters are 
valid.
  * 
- * <h3>Example Usage</h3>
+ * <h2>Example Usage</h2>
  * <p>
  * This implementation was added after a number of Modulus 10 routines and 
these
  * are shown re-implemented using this routine below:
diff --git a/src/main/java/org/apache/commons/validator/routines/package.html 
b/src/main/java/org/apache/commons/validator/routines/package.html
index bfdecda..52ae1a5 100644
--- a/src/main/java/org/apache/commons/validator/routines/package.html
+++ b/src/main/java/org/apache/commons/validator/routines/package.html
@@ -20,7 +20,7 @@
 </head>
 <body bgcolor="white">
     <p>This package contains <i>independant</i> validation routines.</p>
-<h1>Table of Contents</h1>
+<h2>Table of Contents</h2>
 
 <ul>
 <li>1. <a href="#overview">Overview</a></li>
@@ -59,7 +59,7 @@
 </ul>
 
 <a id="overview"></a>
-<h1>1. Overview</h1>
+<h2>1. Overview</h2>
 <p>
    Commons Validator serves two purposes:
 </p>
@@ -79,7 +79,7 @@
 </p>
 
 <a id="date"></a>
-<h1>2. Date and Time Validators</h1>
+<h2>2. Date and Time Validators</h2>
 
 <a id="date.overview"></a>
 <h2>2.1 Overview</h2>
@@ -211,7 +211,7 @@
 
 
 <a id="numeric"></a>
-<h1>3 Numeric Validators</h1>
+<h2>3 Numeric Validators</h2>
 
 <a id="numeric.overview"></a>
 <h2>3.1 Overview</h2>
@@ -416,7 +416,7 @@
 </p>
 
 <a id="other"></a>
-<h1>4. Other Validators</h1>
+<h2>4. Other Validators</h2>
 
 <a id="other.overview"></a>
 <h2>4.1 Overview</h2>

Reply via email to