Since we are adding a single source only, we can go through
the single-argument method, making things a tad more efficient.
JIRA: YANGTOOLS-652
Change-Id: I676d8d2cbfdd854c9486a02e3c746cb13849d09c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit
48dec899e71c23cb3ee07cc85d788d5e7f57b3af)
@Override
public @NonNull YangParser addLibSource(final SchemaSourceRepresentation source) throws IOException,
YangSyntaxErrorException {
- buildAction.addLibSources(sourceToStatementStream(source));
+ buildAction.addLibSource(sourceToStatementStream(source));
return this;
}