test_class.declarator: builderProvider = new DocumentMKBuilderProvider()
test_class.modifier: @Rule
      public
test_class.original_string: @Rule
      public DocumentMKBuilderProvider builderProvider = new DocumentMKBuilderProvider();
test_class.type: DocumentMKBuilderProvider
test_class.var_name: builderProvider
test_class.declarator: bundlingHandler
test_class.modifier: private
test_class.original_string: private BundlingHandler bundlingHandler;
test_class.type: BundlingHandler
test_class.var_name: bundlingHandler
test_class.declarator: ns = builderProvider.newBuilder().build()
test_class.modifier: private
test_class.original_string: private DocumentNodeStore ns = builderProvider.newBuilder().build();
test_class.type: DocumentNodeStore
test_class.var_name: ns
test_class.file: oak-store-document/src/test/java/org/apache/jackrabbit/oak/plugins/document/CommitDiffTest.java
test_class.identifier: CommitDiffTest
test_case.body: @Test
      public void removeBundledNode() throws Exception {
          addTestFile();
          NodeBuilder after = ns.getRoot().builder();
          after.child("file").child(JCR_CONTENT).remove();
  
          CommitBuilder builder = new CommitBuilder(ns, null);
          CommitDiff diff = newCommitDiff(builder);
          after.getNodeState().compareAgainstBaseState(ns.getRoot(), diff);
  
          assertEquals(1, diff.getNumChanges());
          Commit c = builder.build(Revision.newRevision(1));
          Revision r = c.getRevision();
          UpdateOp op = c.getUpdateOperationForNode(Path.fromString("/file"));
          Map<Key, Operation> changes = op.getChanges();
          assertThat(changes.keySet(), hasSize(4));
          assertThat(changes, hasKey(new Key(MODIFIED_IN_SECS, null)));
          // changes for jcr:content child node
          assertThat(changes, hasKey(new Key(JCR_CONTENT + "/" + JCR_PRIMARYTYPE, r)));
          assertThat(changes, hasKey(new Key(JCR_CONTENT + "/" + JCR_DATA, r)));
          assertThat(changes, hasKey(new Key(JCR_CONTENT + "/" + META_PROP_BUNDLING_PATH, r)));
      }
test_case.class_method_signature: CommitDiffTest.removeBundledNode()
test_case.full_signature: @Test public void removeBundledNode()
test_case.identifier: removeBundledNode
test_case.invocations: addTestFile builder getRoot remove child child newCommitDiff compareAgainstBaseState getNodeState getRoot assertEquals getNumChanges build newRevision getRevision getUpdateOperationForNode fromString getChanges assertThat keySet hasSize assertThat hasKey assertThat hasKey assertThat hasKey assertThat hasKey
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void removeBundledNode()
focal_class.declarator: commit
focal_class.modifier: private final
focal_class.original_string: private final CommitBuilder commit;
focal_class.type: CommitBuilder
focal_class.var_name: commit
focal_class.declarator: builder
focal_class.modifier: private final
focal_class.original_string: private final JsopBuilder builder;
focal_class.type: JsopBuilder
focal_class.var_name: builder
focal_class.declarator: blobs
focal_class.modifier: private final
focal_class.original_string: private final BlobSerializer blobs;
focal_class.type: BlobSerializer
focal_class.var_name: blobs
focal_class.declarator: bundlingHandler
focal_class.modifier: private final
focal_class.original_string: private final BundlingHandler bundlingHandler;
focal_class.type: BundlingHandler
focal_class.var_name: bundlingHandler
focal_class.file: oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/CommitDiff.java
focal_class.identifier: CommitDiff
focal_class.interfaces: implements NodeStateDiff
focal_class.class_method_signature: CommitDiff.CommitDiff(@NotNull BundlingHandler bundlingHandler,
                 @NotNull CommitBuilder commitBuilder,
                 @NotNull BlobSerializer blobs)
focal_class.full_signature:   CommitDiff(@NotNull BundlingHandler bundlingHandler,
                 @NotNull CommitBuilder commitBuilder,
                 @NotNull BlobSerializer blobs)
focal_class.identifier: CommitDiff
focal_class.parameters: (@NotNull BundlingHandler bundlingHandler,
                 @NotNull CommitBuilder commitBuilder,
                 @NotNull BlobSerializer blobs)
focal_class.signature:  CommitDiff(@NotNull BundlingHandler bundlingHandler,
                 @NotNull CommitBuilder commitBuilder,
                 @NotNull BlobSerializer blobs)
focal_class.class_method_signature: CommitDiff.CommitDiff(CommitBuilder commitBuilder,
                         BundlingHandler bundlingHandler,
                         JsopBuilder builder,
                         BlobSerializer blobs)
focal_class.full_signature: private  CommitDiff(CommitBuilder commitBuilder,
                         BundlingHandler bundlingHandler,
                         JsopBuilder builder,
                         BlobSerializer blobs)
focal_class.identifier: CommitDiff
focal_class.modifiers: private
focal_class.parameters: (CommitBuilder commitBuilder,
                         BundlingHandler bundlingHandler,
                         JsopBuilder builder,
                         BlobSerializer blobs)
focal_class.signature:  CommitDiff(CommitBuilder commitBuilder,
                         BundlingHandler bundlingHandler,
                         JsopBuilder builder,
                         BlobSerializer blobs)
focal_class.class_method_signature: CommitDiff.propertyAdded(PropertyState after)
focal_class.full_signature: @Override public boolean propertyAdded(PropertyState after)
focal_class.identifier: propertyAdded
focal_class.modifiers: @Override public
focal_class.parameters: (PropertyState after)
focal_class.return: boolean
focal_class.signature: boolean propertyAdded(PropertyState after)
focal_class.class_method_signature: CommitDiff.propertyChanged(PropertyState before, PropertyState after)
focal_class.full_signature: @Override public boolean propertyChanged(PropertyState before, PropertyState after)
focal_class.identifier: propertyChanged
focal_class.modifiers: @Override public
focal_class.parameters: (PropertyState before, PropertyState after)
focal_class.return: boolean
focal_class.signature: boolean propertyChanged(PropertyState before, PropertyState after)
focal_class.class_method_signature: CommitDiff.propertyDeleted(PropertyState before)
focal_class.full_signature: @Override public boolean propertyDeleted(PropertyState before)
focal_class.identifier: propertyDeleted
focal_class.modifiers: @Override public
focal_class.parameters: (PropertyState before)
focal_class.return: boolean
focal_class.signature: boolean propertyDeleted(PropertyState before)
focal_class.class_method_signature: CommitDiff.childNodeAdded(String name, NodeState after)
focal_class.full_signature: @Override public boolean childNodeAdded(String name, NodeState after)
focal_class.identifier: childNodeAdded
focal_class.modifiers: @Override public
focal_class.parameters: (String name, NodeState after)
focal_class.return: boolean
focal_class.signature: boolean childNodeAdded(String name, NodeState after)
focal_class.class_method_signature: CommitDiff.childNodeChanged(String name,
                                      NodeState before,
                                      NodeState after)
focal_class.full_signature: @Override public boolean childNodeChanged(String name,
                                      NodeState before,
                                      NodeState after)
focal_class.identifier: childNodeChanged
focal_class.modifiers: @Override public
focal_class.parameters: (String name,
                                      NodeState before,
                                      NodeState after)
focal_class.return: boolean
focal_class.signature: boolean childNodeChanged(String name,
                                      NodeState before,
                                      NodeState after)
focal_class.class_method_signature: CommitDiff.childNodeDeleted(String name, NodeState before)
focal_class.full_signature: @Override public boolean childNodeDeleted(String name, NodeState before)
focal_class.identifier: childNodeDeleted
focal_class.modifiers: @Override public
focal_class.parameters: (String name, NodeState before)
focal_class.return: boolean
focal_class.signature: boolean childNodeDeleted(String name, NodeState before)
focal_class.class_method_signature: CommitDiff.getNumChanges()
focal_class.full_signature:  int getNumChanges()
focal_class.identifier: getNumChanges
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getNumChanges()
focal_class.class_method_signature: CommitDiff.performBundlingRelatedOperations()
focal_class.full_signature: private void performBundlingRelatedOperations()
focal_class.identifier: performBundlingRelatedOperations
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void performBundlingRelatedOperations()
focal_class.class_method_signature: CommitDiff.setMetaProperties()
focal_class.full_signature: private void setMetaProperties()
focal_class.identifier: setMetaProperties
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void setMetaProperties()
focal_class.class_method_signature: CommitDiff.informCommitAboutBundledNodes()
focal_class.full_signature: private void informCommitAboutBundledNodes()
focal_class.identifier: informCommitAboutBundledNodes
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void informCommitAboutBundledNodes()
focal_class.class_method_signature: CommitDiff.removeRemovedProps()
focal_class.full_signature: private void removeRemovedProps()
focal_class.identifier: removeRemovedProps
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void removeRemovedProps()
focal_class.class_method_signature: CommitDiff.setOrTouchChildrenFlag(BundlingHandler child)
focal_class.full_signature: private void setOrTouchChildrenFlag(BundlingHandler child)
focal_class.identifier: setOrTouchChildrenFlag
focal_class.modifiers: private
focal_class.parameters: (BundlingHandler child)
focal_class.return: void
focal_class.signature: void setOrTouchChildrenFlag(BundlingHandler child)
focal_class.class_method_signature: CommitDiff.setProperty(PropertyState property)
focal_class.full_signature: private void setProperty(PropertyState property)
focal_class.identifier: setProperty
focal_class.modifiers: private
focal_class.parameters: (PropertyState property)
focal_class.return: void
focal_class.signature: void setProperty(PropertyState property)
focal_method.body: int getNumChanges() {
          return commit.getNumOperations();
      }
focal_method.class_method_signature: CommitDiff.getNumChanges()
focal_method.full_signature:  int getNumChanges()
focal_method.identifier: getNumChanges
focal_method.invocations: getNumOperations
focal_method.parameters: ()
focal_method.return: int
focal_method.signature: int getNumChanges()