Mercurial > hg > digilib-old
diff servlet/src/digilib/auth/XMLAuthOps.java @ 269:6e6bf5aa7ad2
Servlet version 1.21b3
- searching in directories got faster (real binarySearch now!)
- cached file lists get disposed
- some code cleaning (Map types instead of HashMap)
author | robcast |
---|---|
date | Tue, 12 Oct 2004 16:06:43 +0200 |
parents | beed92ee6022 |
children | e758a49258e8 |
line wrap: on
line diff
--- a/servlet/src/digilib/auth/XMLAuthOps.java Tue Oct 12 16:06:42 2004 +0200 +++ b/servlet/src/digilib/auth/XMLAuthOps.java Tue Oct 12 16:06:43 2004 +0200 @@ -21,8 +21,8 @@ package digilib.auth; import java.io.File; -import java.util.HashMap; import java.util.List; +import java.util.Map; import javax.servlet.http.HttpServletRequest; @@ -69,8 +69,8 @@ */ public void init() throws AuthOpException { logger.debug("xmlauthops.init (" + configFile + ")"); - HashMap pathList = null; - HashMap ipList = null; + Map pathList = null; + Map ipList = null; try { // load authPaths XMLListLoader pathLoader =