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


The following commit(s) were added to refs/heads/master by this push:
     new d0a2718  Remove trailing whitespace.
d0a2718 is described below

commit d0a27182ae2336804f6c830616d61518ec46925f
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Feb 28 12:54:36 2021 -0500

    Remove trailing whitespace.
---
 .../org/apache/commons/validator/routines/InetAddressValidator.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/commons/validator/routines/InetAddressValidator.java 
b/src/main/java/org/apache/commons/validator/routines/InetAddressValidator.java
index 47066f1..8150b9a 100644
--- 
a/src/main/java/org/apache/commons/validator/routines/InetAddressValidator.java
+++ 
b/src/main/java/org/apache/commons/validator/routines/InetAddressValidator.java
@@ -148,7 +148,7 @@ public class InetAddressValidator implements Serializable {
         parts = parts[0].split("%", -1);
         if (parts.length > 2) {
             return false;
-        } else 
+        } else
         // The id syntax is implementation independent, but it presumably 
cannot allow:
         // whitespace, '/' or '%'
         if ((parts.length == 2) && !parts[1].matches("[^\\s/%]+")) {

Reply via email to