atually made use of the cache

This commit is contained in:
Knut Forkalsrud 2010-05-22 12:49:16 -07:00
parent 0a9a21e66f
commit 6400a66234

View file

@ -59,7 +59,7 @@ public class DirectoryEntry extends Entry {
throw new RuntimeException("Use DirectoryEntry only for directories: " + file); throw new RuntimeException("Use DirectoryEntry only for directories: " + file);
} }
this.db = db; this.db = db;
cache = db.load(file.getAbsolutePath()); cache = db.get(file.getAbsolutePath());
if (cache == null) { if (cache == null) {
cache = new DirectoryProps(); cache = new DirectoryProps();
} }