Mercurial > hg > tomcat-userconfig
changeset 4:6ef7cbf5c8d6
Cleanup.
author | Mikhail Kryshen <mikhail@kryshen.net> |
---|---|
date | Fri, 30 Oct 2009 05:15:03 +0300 |
parents | 3ab011b6e6e8 |
children | 64c05808a046 |
files | src/kryshen/catalina/startup/HomesUserDatabase.java |
diffstat | 1 files changed, 3 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/kryshen/catalina/startup/HomesUserDatabase.java Fri Oct 30 05:12:58 2009 +0300 +++ b/src/kryshen/catalina/startup/HomesUserDatabase.java Fri Oct 30 05:15:03 2009 +0300 @@ -76,12 +76,10 @@ /** - * Return an absolute pathname to the home directory for the specified user. - * - * @param user User for which a home directory should be retrieved + * Return mapping between usernames and home directories. */ - public File getHome(String user) { - return (homes.get(user)); + public Map<String, File> getUserHomes() { + return Collections.unmodifiableMap(homes); } // ------------------------------------------------------ Private Methods @@ -110,8 +108,4 @@ homes.put(homeBaseFiles[i], homeDir); } } - - public Map<String, File> getUserHomes() { - return Collections.unmodifiableMap(homes); - } }