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 a2114b76 This class must be public
a2114b76 is described below

commit a2114b76f1908acf2ce831711776f31e4ef88240
Author: Sebb <s...@apache.org>
AuthorDate: Tue Jun 10 15:42:58 2025 +0100

    This class must be public
---
 .../org/apache/commons/validator/routines/DomainValidatorTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java 
b/src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java
index 8f5b3029..bc0f6b4a 100644
--- 
a/src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java
+++ 
b/src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java
@@ -53,8 +53,8 @@ import org.junit.jupiter.api.Test;
 /**
  * Tests for the DomainValidator.
  */
-class DomainValidatorTest {
-
+public class DomainValidatorTest {
+// Must be public, because it has a main method.
     private static void closeQuietly(final Closeable in) {
         if (in != null) {
             try {

Reply via email to