With caching we get concurrency issues, so synchronize..

This commit is contained in:
Knut Forkalsrud 2010-05-22 19:33:35 -07:00
parent ddfb975510
commit 75beeacab7

View file

@ -108,7 +108,7 @@ public class DirectoryEntry extends Entry {
return null;
}
protected void loadChildren() {
protected synchronized void loadChildren() {
if (childrenLoaded) {
return;