From: Ivan Hrasko Date: Fri, 25 Mar 2022 15:36:52 +0000 (+0100) Subject: Remove StmtTestUtils.parseYangSource(String) X-Git-Tag: v8.0.3~20 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=yangtools.git;a=commitdiff_plain;h=1812c072a4d5c3ba77d9e6c0c7b70f399a6f900d Remove StmtTestUtils.parseYangSource(String) This deprecated method is no more used. JIRA: YANGTOOLS-1345 Change-Id: I17f8442073c432e68a6dde2129ae842cce226ee5 Signed-off-by: Ivan Hrasko --- 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 1a6ddb260a..72acef86ac 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 @@ -84,13 +84,6 @@ public final class StmtTestUtils { } } - @Deprecated(forRemoval = true) - // TestUtils.parseYangSource() instead, but callers need also further cleanup - public static EffectiveModelContext parseYangSource(final String yangSourcePath) throws ReactorException, - URISyntaxException, IOException, YangSyntaxErrorException { - return parseYangSource(yangSourcePath, YangParserConfiguration.DEFAULT, null); - } - public static EffectiveModelContext parseYangSource(final String yangSourcePath, final Set supportedFeatures) throws ReactorException, URISyntaxException, IOException, YangSyntaxErrorException { return parseYangSource(yangSourcePath, YangParserConfiguration.DEFAULT, supportedFeatures);