mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not get storage lock just for attempting to set dirty flag when already have dirty attribute
This commit is contained in:
@@ -440,6 +440,7 @@ abstract class PersistentEnumeratorBase<Data> implements Forceable, Closeable {
|
||||
}
|
||||
|
||||
protected final void markDirty(boolean dirty) throws IOException {
|
||||
if (dirty && isDirty()) return;
|
||||
synchronized (ourLock) {
|
||||
if (myDirty) {
|
||||
if (!dirty) {
|
||||
|
||||
Reference in New Issue
Block a user