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 a6a231b8 These classes must be public a6a231b8 is described below commit a6a231b8be13d6244ffb1b877895b00c68f83684 Author: Sebb <s...@apache.org> AuthorDate: Tue Jun 10 15:45:21 2025 +0100 These classes must be public --- src/test/java/org/apache/commons/validator/UrlTest.java | 3 ++- .../java/org/apache/commons/validator/routines/EmailValidatorTest.java | 3 ++- .../java/org/apache/commons/validator/routines/UrlValidatorTest.java | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/apache/commons/validator/UrlTest.java b/src/test/java/org/apache/commons/validator/UrlTest.java index 87b5fcec..8fb29422 100644 --- a/src/test/java/org/apache/commons/validator/UrlTest.java +++ b/src/test/java/org/apache/commons/validator/UrlTest.java @@ -28,7 +28,8 @@ import org.junit.jupiter.api.Test; * @deprecated to be removed when org.apache.commons.validator.UrlValidator is removed */ @Deprecated -class UrlTest { +public class UrlTest { +// Must be public, because it has a main method. static boolean incrementTestPartsIndex(final int[] testPartsIndex, final Object[] testParts) { boolean carry = true; // add 1 to lowest order part. diff --git a/src/test/java/org/apache/commons/validator/routines/EmailValidatorTest.java b/src/test/java/org/apache/commons/validator/routines/EmailValidatorTest.java index ab574415..2bb6a9f8 100644 --- a/src/test/java/org/apache/commons/validator/routines/EmailValidatorTest.java +++ b/src/test/java/org/apache/commons/validator/routines/EmailValidatorTest.java @@ -32,7 +32,8 @@ import org.junit.jupiter.api.Test; /** * Performs Validation Test for e-mail validations. */ -class EmailValidatorTest { +public class EmailValidatorTest { +// Must be public, because it has a main method. /** * The key used to retrieve the set of validation rules from the xml file. diff --git a/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java b/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java index 39c886d5..25e0b5dc 100644 --- a/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java +++ b/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java @@ -33,7 +33,8 @@ import org.junit.jupiter.api.Test; /** * Performs Validation Test for url validations. */ -class UrlValidatorTest { +public class UrlValidatorTest { +// Must be public, because it has a main method. static boolean incrementTestPartsIndex(final int[] testPartsIndex, final Object[] testParts) { boolean carry = true; // add 1 to lowest order part.