mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

abobrov
20.43.2007 715e7cc240a8519a3aaa27d074bd48e886ab10d9
opendj-sdk/opends/src/server/org/opends/server/extensions/FileSystemEntryCache.java
@@ -733,7 +733,9 @@
      }
      return;
    } finally {
      cacheWriteLock.unlock();
      if (cacheLock.isWriteLockedByCurrentThread()) {
        cacheWriteLock.unlock();
      }
    }
  }
@@ -766,7 +768,9 @@
      // We can't rule out the possibility of a conflict, so return false.
      return false;
    } finally {
      cacheWriteLock.unlock();
      if (cacheLock.isWriteLockedByCurrentThread()) {
        cacheWriteLock.unlock();
      }
    }
  }