Author: chetanm
Date: Wed Oct 19 15:09:52 2016
New Revision: 1765636
URL: http://svn.apache.org/viewvc?rev=1765636&view=rev
Log:
OAK-1312 - [bundling] Bundle nodes into a document
Mark bundling context as final
Modified:
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeState.java
Modified:
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeState.java
URL:
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeState.java?rev=1765636&r1=1765635&r2=1765636&view=diff
==============================================================================
---
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeState.java
(original)
+++
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeState.java
Wed Oct 19 15:09:52 2016
@@ -85,7 +85,7 @@ public class DocumentNodeState extends A
private final boolean hasChildren;
private final DocumentNodeStore store;
- private BundlingContext bundlingContext;
+ private final BundlingContext bundlingContext;
private AbstractDocumentNodeState cachedSecondaryState;
@@ -128,7 +128,7 @@ public class DocumentNodeState extends A
this.fromExternalChange = fromExternalChange;
this.properties = bundlingContext.getProperties();
this.bundlingContext = bundlingContext;
- this.hasChildren = this.bundlingContext.hasChildren();
+ this.hasChildren = bundlingContext.hasChildren();
}
/**