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

garydgregory 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 a82f8f1a Fix broken build (Checkstyle)
a82f8f1a is described below

commit a82f8f1a2f3e661d7f2efe16ab229674f34704d6
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Jun 23 14:38:44 2026 +0000

    Fix broken build (Checkstyle)
---
 .../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 646f30c5..50d445a1 100644
--- 
a/src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java
+++ 
b/src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java
@@ -317,13 +317,13 @@ public class DomainValidatorTest {
                     final String comment = info[1];
                     if (dv.isValidTld(asciiTld)) { // we have an entry; is it 
in correct list?
                         if ("country-code".equals(type)) {
-                            if (!dv.isValidCountryCodeTld(asciiTld)) {// wrong 
list
+                            if (!dv.isValidCountryCodeTld(asciiTld)) { // 
wrong list
                                 missingCC.put(asciiTld, unicodeTld + " " + 
comment);
                                 if (generateUnicodeTlds) {
                                     missingCC.put(unicodeTld, asciiTld + " " + 
comment);
                                 }
                                 System.out.println("GENERIC list contains 
unexpected value: " + asciiTld);
-                                errorsDetected ++;
+                                errorsDetected++;
                             }
                         }
                     } else { // missing entry, add it to correct list

Reply via email to