Mercurial > hg > digilib-old
diff servlet/src/digilib/io/DocuDirCache.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 | aaf6eace011d |
line wrap: on
line diff
--- a/servlet/src/digilib/io/DocuDirCache.java Fri Mar 12 19:52:06 2004 +0100 +++ b/servlet/src/digilib/io/DocuDirCache.java Fri Mar 12 19:52:07 2004 +0100 @@ -134,7 +134,8 @@ public List getChildren(String dirname, boolean recurse) { List l = new LinkedList(); for (Iterator i = map.keySet().iterator(); i.hasNext();) { - DocuDirectory dd = (DocuDirectory) i.next(); + String n = (String) i.next(); + DocuDirectory dd = (DocuDirectory) map.get(n); if (recurse) { if (dd.getDirName().startsWith(dirname)) { l.add(dd);