Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-8722

dead locking related code in NodeDelegate.updateMixins

    XMLWordPrintableJSON

    Details

      Description

                  // 3. deal with locked nodes
                  boolean wasLockable = isNodeType(MIX_LOCKABLE);
                  boolean isLockable = isNodeType(MIX_LOCKABLE);
                  if (wasLockable && !isLockable && holdsLock(false)) {
                      // TODO: This should probably be done in a commit hook
                      unlock();
                      sessionDelegate.refresh(true);
                  }
      

      AFAICT, this code block will never be executed. Clean up, Angela Schreiber?

        Attachments

        1. OAK-8722.diff
          1 kB
          Julian Reschke

          Activity

            People

            • Assignee:
              reschke Julian Reschke
              Reporter:
              reschke Julian Reschke
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: