mutable state, protect with synchronized

This commit is contained in:
Shikhar Bhushan
2010-03-26 01:16:51 +01:00
parent 25a18c6fd7
commit 460a730879

View File

@@ -49,7 +49,7 @@ public class PathHelper {
}
}
private String getDotDir()
private synchronized String getDotDir()
throws IOException {
return (dotDir != null) ? dotDir : (dotDir = canon("."));
}