returned previously removed locking

This commit is contained in:
Maxim.Mossienko
2011-08-31 18:31:39 +04:00
parent 00694da4fd
commit 2919795fd3
@@ -388,7 +388,7 @@ abstract class PersistentEnumeratorBase<Data> implements Forceable, Closeable {
return new File(myFile.getPath() + ".keystream");
}
public Data valueOf(int idx) throws IOException {
public synchronized Data valueOf(int idx) throws IOException {
synchronized (ourLock) {
try {
int addr = indexToAddr(idx);