removed code duplication in translator, and addressed review comments

Change-Id: I27767a81c4bf279c80d2b98192f75f8f507b4457
diff --git a/src/main/java/org/onosproject/yangutils/utils/io/impl/CopyrightHeader.java b/src/main/java/org/onosproject/yangutils/utils/io/impl/CopyrightHeader.java
index 3ba2fc6..27f1036 100644
--- a/src/main/java/org/onosproject/yangutils/utils/io/impl/CopyrightHeader.java
+++ b/src/main/java/org/onosproject/yangutils/utils/io/impl/CopyrightHeader.java
@@ -24,9 +24,10 @@
 import java.io.InputStream;
 import java.io.OutputStream;
 
-import static org.slf4j.LoggerFactory.getLogger;
 import org.slf4j.Logger;
 
+import static org.slf4j.LoggerFactory.getLogger;
+
 /**
  * Provides the license header for the generated files.
  */
@@ -48,7 +49,7 @@
      * Returns copyright file header.
      *
      * @return copyright file header
-     * @throws IOException when fails to parse copyright header.
+     * @throws IOException when fails to parse copyright header
      */
     public static String getCopyrightHeader() throws IOException {
         return copyrightHeader;
@@ -66,7 +67,7 @@
     /**
      * parse Copyright to the temporary file.
      *
-     * @throws IOException when fails to get the copyright header.
+     * @throws IOException when fails to get the copyright header
      */
     public static void parseCopyrightHeader() throws IOException {