Hide DependencyResolverTest methods 33/111433/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 16 Apr 2024 13:23:24 +0000 (15:23 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 16 Apr 2024 13:23:24 +0000 (15:23 +0200)
The methods are needlessly public, hide them.

Change-Id: I00d9715948fbc3832acc4fb73e20aee0fb4983b3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
parser/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/parser/repo/DependencyResolverTest.java

index 559842afde95e4931a719826ca233ee8a9afd182..11fb9e1b6ebe479b221010a74e91245025089ef4 100644 (file)
@@ -23,7 +23,7 @@ import org.opendaylight.yangtools.yang.parser.rfc7950.repo.YangIRSourceInfoExtra
 
 class DependencyResolverTest {
     @Test
-    public void testModulesWithoutRevisionAndImport() throws Exception {
+    void testModulesWithoutRevisionAndImport() throws Exception {
         final var resolved = resolveResources("/no-revision/imported.yang", "/no-revision/imported@2012-12-12.yang",
             "/no-revision/top@2012-10-10.yang");
         assertThat(resolved.resolvedSources()).containsExactlyInAnyOrder(
@@ -35,7 +35,7 @@ class DependencyResolverTest {
     }
 
     @Test
-    public void testSubmoduleNoModule() throws Exception {
+    void testSubmoduleNoModule() throws Exception {
         // Subfoo does not have parent in reactor
         final var resolved = resolveResources("/model/subfoo.yang", "/model/bar.yang", "/model/baz.yang");
         assertThat(resolved.resolvedSources()).containsExactlyInAnyOrder(
@@ -50,7 +50,7 @@ class DependencyResolverTest {
     }
 
     @Test
-    public void testSubmodule() throws Exception {
+    void testSubmodule() throws Exception {
         final var resolved = resolveResources("/model/subfoo.yang", "/model/foo.yang", "/model/bar.yang",
             "/model/baz.yang");
         assertThat(resolved.resolvedSources()).containsExactlyInAnyOrder(