comparison servlet/src/digilib/io/AliasingDocuDirCache.java @ 209:f8c82fea551a

Servlet version 1.18b9 -- cleanup and bugfixes - fixed bug with slow color JPEGs - better pathname handling - better filehandle cleanup (hopefully)
author robcast
date Fri, 12 Mar 2004 19:52:07 +0100
parents bb4ed821d06e
children beed92ee6022
comparison
equal deleted inserted replaced
208:460cd1f18b96 209:f8c82fea551a
64 /* 64 /*
65 * load map entries into cache 65 * load map entries into cache
66 */ 66 */
67 67
68 for (Iterator i = pathMap.keySet().iterator(); i.hasNext();) { 68 for (Iterator i = pathMap.keySet().iterator(); i.hasNext();) {
69 String link = (String)i.next(); 69 String link = FileOps.normalName((String)i.next());
70 String dir = (String) pathMap.get(link); 70 String dir = (String) pathMap.get(link);
71 DocuDirectory destDir = new DocuDirectory(dir, this); 71 DocuDirectory destDir = new DocuDirectory(dir, this);
72 if (destDir.isValid()) { 72 if (destDir.isValid()) {
73 logger.debug("Aliasing dir: "+link); 73 logger.debug("Aliasing dir: "+link);
74 // add the alias name 74 // add the alias name