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-vfs.git

commit c8b79c203bc61f681420219b01a86bc2b663c0b1
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Jul 28 06:57:09 2025 -0400

    Reduce vertical whitespace
---
 .../apache/commons/vfs2/auth/StaticUserAuthenticator.java  | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git 
a/commons-vfs2/src/main/java/org/apache/commons/vfs2/auth/StaticUserAuthenticator.java
 
b/commons-vfs2/src/main/java/org/apache/commons/vfs2/auth/StaticUserAuthenticator.java
index eeefe9989..8e4e9c85a 100644
--- 
a/commons-vfs2/src/main/java/org/apache/commons/vfs2/auth/StaticUserAuthenticator.java
+++ 
b/commons-vfs2/src/main/java/org/apache/commons/vfs2/auth/StaticUserAuthenticator.java
@@ -31,13 +31,13 @@ public class StaticUserAuthenticator implements 
UserAuthenticator, Comparable<St
 
     private static final Log LOG = 
LogFactory.getLog(StaticUserAuthenticator.class);
 
-    /** The user name */
+    /** The user name. */
     private final String userName;
 
-    /** The password */
+    /** The password. */
     private final String password;
 
-    /** The user domain */
+    /** The user domain. */
     private final String domain;
 
     /**
@@ -58,13 +58,11 @@ public class StaticUserAuthenticator implements 
UserAuthenticator, Comparable<St
             if (otherString == null) {
                 return 1;
             }
-
             return thisString.compareTo(otherString);
         }
         if (otherString != null) {
             return -1;
         }
-
         return 0;
     }
 
@@ -90,18 +88,14 @@ public class StaticUserAuthenticator implements 
UserAuthenticator, Comparable<St
         if (this == obj) {
             return true;
         }
-
         if (obj == null) {
             return false;
         }
-
         if (getClass() != obj.getClass()) {
             return false;
         }
-
         final StaticUserAuthenticator other = (StaticUserAuthenticator) obj;
-        return Objects.equals(domain, other.domain) && 
Objects.equals(userName, other.userName)
-            && Objects.equals(password, other.password);
+        return Objects.equals(domain, other.domain) && 
Objects.equals(userName, other.userName) && Objects.equals(password, 
other.password);
     }
 
     /**

Reply via email to