Merge "NoteDbUpdateManager: Remove unused flush method"

This commit is contained in:
David Pursehouse
2019-08-23 13:43:34 +00:00
committed by Gerrit Code Review

View File

@@ -280,16 +280,6 @@ public class NoteDbUpdateManager implements AutoCloseable {
}
}
public void flush() throws IOException {
checkNotExecuted();
if (changeRepo != null) {
changeRepo.flush();
}
if (allUsersRepo != null) {
allUsersRepo.flush();
}
}
@Nullable
public BatchRefUpdate execute() throws IOException {
return execute(false);