Mercurial > hg > digilib-old
changeset 274:4c068f899c1e
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 | d4c0c4d858a9 |
children | fba0857fde34 |
files | servlet/src/digilib/servlet/DigilibConfiguration.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/servlet/src/digilib/servlet/DigilibConfiguration.java Tue Oct 12 16:06:43 2004 +0200 +++ b/servlet/src/digilib/servlet/DigilibConfiguration.java Tue Oct 12 16:06:43 2004 +0200 @@ -22,8 +22,8 @@ package digilib.servlet; import java.io.File; -import java.util.HashMap; import java.util.Iterator; +import java.util.Map; import javax.servlet.ServletConfig; import javax.servlet.ServletException; @@ -186,7 +186,7 @@ XMLListLoader lilo = new XMLListLoader("digilib-config", "parameter", "name", "value"); // read config file into HashMap - HashMap confTable = lilo.loadURL(f.toURL().toString()); + Map confTable = lilo.loadURL(f.toURL().toString()); // set config file path parameter setValue("servlet.config.file", f.getCanonicalPath());