Minor code cleanups
[yangtools.git] / yang / yang-data-impl / src / main / java / org / opendaylight / yangtools / yang / data / impl / leafref / LeafRefPathParserListenerImpl.java
index 5356a59609d3cd48129eb6789146b1afbca8ae36..078abd2067fba0bbf901f0514f6112bc59604842 100644 (file)
@@ -179,7 +179,7 @@ final class LeafRefPathParserListenerImpl extends LeafRefPathParserBaseListener
         return schemaContext.findModule(moduleName, revision).map(Module::getQNameModule);
     }
 
-    private ModuleImport getModuleImport(final Module targetModule, final String prefix) {
+    private static ModuleImport getModuleImport(final Module targetModule, final String prefix) {
         return targetModule.getImports().stream()
             .filter(imp -> prefix.equals(imp.getPrefix())).findFirst().orElse(null);
     }