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

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new 72c7c36b05 Clean-up. No functional change.
72c7c36b05 is described below

commit 72c7c36b05db0ebafe3b823bc40eed9d92d45db6
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Sep 14 19:25:11 2022 +0100

    Clean-up. No functional change.
---
 .../apache/catalina/startup/HomesUserDatabase.java | 32 +---------------------
 1 file changed, 1 insertion(+), 31 deletions(-)

diff --git a/java/org/apache/catalina/startup/HomesUserDatabase.java 
b/java/org/apache/catalina/startup/HomesUserDatabase.java
index 0b858c1df9..bbcb090d20 100644
--- a/java/org/apache/catalina/startup/HomesUserDatabase.java
+++ b/java/org/apache/catalina/startup/HomesUserDatabase.java
@@ -16,12 +16,10 @@
  */
 package org.apache.catalina.startup;
 
-
 import java.io.File;
 import java.util.Enumeration;
 import java.util.Hashtable;
 
-
 /**
  * Concrete implementation of the <code>UserDatabase</code> interface
  * considers all directories in a directory whose pathname is specified
@@ -29,41 +27,19 @@ import java.util.Hashtable;
  *
  * @author Craig R. McClanahan
  */
-public final class HomesUserDatabase
-    implements UserDatabase {
-
-
-    // --------------------------------------------------------- Constructors
-
-
-    /**
-     * Initialize a new instance of this user database component.
-     */
-    public HomesUserDatabase() {
-
-        super();
-
-    }
-
-
-    // --------------------------------------------------- Instance Variables
-
+public final class HomesUserDatabase implements UserDatabase {
 
     /**
      * The set of home directories for all defined users, keyed by username.
      */
     private final Hashtable<String,String> homes = new Hashtable<>();
 
-
     /**
      * The UserConfig listener with which we are associated.
      */
     private UserConfig userConfig = null;
 
 
-    // ----------------------------------------------------------- Properties
-
-
     /**
      * Return the UserConfig listener with which we are associated.
      */
@@ -85,9 +61,6 @@ public final class HomesUserDatabase
     }
 
 
-    // ------------------------------------------------------- Public Methods
-
-
     /**
      * Return an absolute pathname to the home directory for the specified 
user.
      *
@@ -108,9 +81,6 @@ public final class HomesUserDatabase
     }
 
 
-    // ------------------------------------------------------ Private Methods
-
-
     /**
      * Initialize our set of users and home directories.
      */


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to