Remove StmtTestUtils.parseYangSource(String) 60/100260/2
authorIvan Hrasko <ivan.hrasko@pantheon.tech>
Fri, 25 Mar 2022 15:36:52 +0000 (16:36 +0100)
committerRobert Varga <nite@hq.sk>
Sun, 27 Mar 2022 11:56:59 +0000 (11:56 +0000)
This deprecated method is no more used.

JIRA: YANGTOOLS-1345
Change-Id: I17f8442073c432e68a6dde2129ae842cce226ee5
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
parser/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/StmtTestUtils.java

index 1a6ddb260ad694b3eb56ba8a78431a96319a5175..72acef86ac112d0dcbcec47dcae55b18bde5a019 100644 (file)
@@ -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<QName> supportedFeatures)
             throws ReactorException, URISyntaxException, IOException, YangSyntaxErrorException {
         return parseYangSource(yangSourcePath, YangParserConfiguration.DEFAULT, supportedFeatures);