changeset 268:2c7747cc1838

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:42 +0200
parents a3ddad5edfaf
children 6e6bf5aa7ad2
files servlet/src/digilib/io/AliasingDocuDirCache.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/servlet/src/digilib/io/AliasingDocuDirCache.java	Mon Oct 11 21:29:11 2004 +0200
+++ b/servlet/src/digilib/io/AliasingDocuDirCache.java	Tue Oct 12 16:06:42 2004 +0200
@@ -23,8 +23,8 @@
 package digilib.io;
 
 import java.io.File;
-import java.util.HashMap;
 import java.util.Iterator;
+import java.util.Map;
 
 import digilib.servlet.DigilibConfiguration;
 
@@ -45,7 +45,7 @@
 			throws FileOpException {
 		// create standard DocuDirCache
 		super(baseDirs, fileClasses, dlConfig);
-		HashMap pathMap = null;
+		Map pathMap = null;
 		// read alias config file
 		try {
 			// load into pathMap