You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/02/04 19:10:37 UTC

(commons-validator) 05/19: Use final

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

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

commit d2586244d5d4a9e18e4fa0421f4294ab8c9f3e0c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Feb 4 14:07:54 2024 -0500

    Use final
---
 .../java/org/apache/commons/validator/routines/DomainValidatorTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 2665c79c..83f86b43 100644
--- a/src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java
+++ b/src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java
@@ -362,7 +362,7 @@ public class DomainValidatorTest {
         if (header != null) {
             System.out.println("        // Taken from " + header);
         }
-        for (Entry<String, String> me : map.entrySet()) {
+        for (final Entry<String, String> me : map.entrySet()) {
             System.out.println("        \"" + me.getKey() + "\", // " + me.getValue());
         }
         System.out.println("\nDone");