Remove usage of deprecated yang parser classes
[yangtools.git] / yang-validation-tool / src / main / java / org / opendaylight / yangtools / yang / validation / tool / Params.java
index 205f54c3316e4a7a9d2bce287caee03be86e030f..5bc91bc0500c584c2ce3796fcad5ace3da63b79c 100644 (file)
@@ -9,6 +9,7 @@ package org.opendaylight.yangtools.yang.validation.tool;
 
 import java.io.File;
 import java.net.URISyntaxException;
+
 import net.sourceforge.argparse4j.ArgumentParsers;
 import net.sourceforge.argparse4j.annotation.Arg;
 import net.sourceforge.argparse4j.inf.ArgumentParser;
@@ -17,7 +18,7 @@ import org.slf4j.LoggerFactory;
 
 final class Params {
 
-    private static final Logger LOGGER = LoggerFactory.getLogger(Params.class);
+    private static final Logger LOG = LoggerFactory.getLogger(Params.class);
     @Arg(dest = "yang-source-dir")
     private File yangSourceDir;
 
@@ -42,15 +43,15 @@ final class Params {
             return false;
         }
         if (!yangSourceDir.exists()) {
-            LOGGER.error("Yang source directory has to exist");
+            LOG.error("Yang source directory has to exist");
             return false;
         }
         if (!yangSourceDir.canRead()) {
-            LOGGER.error("Yang source directory has to be readable");
+            LOG.error("Yang source directory has to be readable");
             return false;
         }
         if (yangSourceDir.list().length == 0) {
-            LOGGER.error("Yang source directory {} doesn't contain any model", yangSourceDir.getPath());
+            LOG.error("Yang source directory {} doesn't contain any model", yangSourceDir.getPath());
             return false;
         }