This is one outlier in our API, whic is not used. Just change the return
type to void. We may revisit this at a later point.
Change-Id: Idc156b99391b6b6bba4f14ea8967b9d2ad389ef5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
schemaStack.push(schema);
}
- public LeafListSchemaNode startLeafSet(final NodeIdentifier name) {
+ public void startLeafSet(final NodeIdentifier name) {
final SchemaNode schema = enterDataTree(name);
checkArgument(schema instanceof LeafListSchemaNode, "Node %s is not a leaf-list", schema);
schemaStack.push(schema);
- return (LeafListSchemaNode) schema;
}
private @NonNull LeafListSchemaNode leafSetEntryNode(final QName qname) {