boolean sameAsSchema = true;
for (SchemaTreeEffectiveStatement<?> child : schemaTreeStatements) {
- sameAsSchema = indexDataTree(dataChildren, child);
+ if (!indexDataTree(dataChildren, child)) {
+ sameAsSchema = false;
+ }
}
// This is a mighty hack to lower memory usage: if we consumed all schema tree children as data nodes,