Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Synchronize isClosed. #41

Merged
merged 1 commit into from
Apr 28, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ public synchronized boolean remove(String key) throws IOException {
}

/** Returns true if this cache has been closed. */
public boolean isClosed() {
public synchronized boolean isClosed() {
return journalWriter == null;
}

Expand Down