From: Robert Varga Date: Mon, 4 Apr 2022 22:52:08 +0000 (+0200) Subject: Remove unused parseYangSources() methods X-Git-Tag: v8.0.3~10 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=yangtools.git;a=commitdiff_plain;h=b139e2294d2fb67a1d93d5ed52bfd4f6d182c0b2 Remove unused parseYangSources() methods There are no callers of these methods, remove them. Change-Id: I8642954e15ee7ff1fe27a5df88839ac8dba239fa Signed-off-by: Robert Varga --- diff --git a/parser/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/StmtTestUtils.java b/parser/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/StmtTestUtils.java index cf334d9a43..3a591ce650 100644 --- a/parser/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/StmtTestUtils.java +++ b/parser/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/StmtTestUtils.java @@ -122,16 +122,6 @@ public final class StmtTestUtils { return parseYangSources(config, supportedFeatures, sources); } - public static EffectiveModelContext parseYangSources(final Collection files) throws ReactorException, - IOException, YangSyntaxErrorException { - return parseYangSources(files, YangParserConfiguration.DEFAULT); - } - - public static EffectiveModelContext parseYangSources(final Collection files, - final YangParserConfiguration config) throws ReactorException, IOException, YangSyntaxErrorException { - return parseYangSources(config, null, files.toArray(new File[0])); - } - public static EffectiveModelContext parseYangSources(final String yangSourcesDirectoryPath) throws ReactorException, URISyntaxException, IOException, YangSyntaxErrorException { return parseYangSources(yangSourcesDirectoryPath, YangParserConfiguration.DEFAULT);