Mercurial > hg > digilib-old
diff servlet/src/digilib/io/DocuDirCache.java @ 750:4f5aaa0de456 jquery
removed synchronized from some methods
author | robcast |
---|---|
date | Sat, 05 Feb 2011 16:47:31 +0100 |
parents | 686086d6e6d6 |
children | 485b85f6e097 |
line wrap: on
line diff
--- a/servlet/src/digilib/io/DocuDirCache.java Sat Feb 05 15:59:31 2011 +0100 +++ b/servlet/src/digilib/io/DocuDirCache.java Sat Feb 05 16:47:31 2011 +0100 @@ -104,6 +104,7 @@ */ public void put(DocuDirectory newdir) { String s = newdir.getDirName(); + logger.debug("DocuDirCache.put for "+s+" in "+this); if (map.containsKey(s)) { logger.warn("Duplicate key in DocuDirCache.put -- ignoring!"); } else { @@ -117,7 +118,7 @@ * * @param newDir */ - public synchronized void putDir(DocuDirectory newDir) { + public void putDir(DocuDirectory newDir) { put(newDir); String parent = FileOps.parent(newDir.getDirName()); if (parent != "") {