Fixing sonar issues
[mdsal.git] / code-generator / binding-generator-impl / src / main / java / org / opendaylight / yangtools / sal / binding / yang / types / BaseYangTypes.java
index b76f3b89f096393f199c75f63bf9f88c95283013..694dd70aa1d3d71aefe2e50e2e5d123afa4f4170 100644 (file)
@@ -96,6 +96,13 @@ public final class BaseYangTypes {
     public static final Type INSTANCE_IDENTIFIER = Types.typeForClass(InstanceIdentifier.class);\r
     \r
     \r
+    /**\r
+     * It is undesirable to create instance of this class.\r
+     */\r
+    private BaseYangTypes() {\r
+\r
+    }\r
+\r
     static {\r
         typeMap.put("boolean", BOOLEAN_TYPE);\r
         typeMap.put("empty", EMPTY_TYPE);\r
@@ -117,7 +124,7 @@ public final class BaseYangTypes {
         /**\r
          * Searches <code>Type</code> value to which is YANG <code>type</code>\r
          * mapped.\r
-         *\r
+         * \r
          * @param type\r
          *            string with YANG type name\r
          * @return java <code>Type</code> representation of <code>type</code>\r
@@ -130,12 +137,12 @@ public final class BaseYangTypes {
         /**\r
          * Searches <code>Type</code> value to which is YANG <code>type</code>\r
          * mapped.\r
-         *\r
+         * \r
          * @param type\r
          *            type definition representation of YANG type\r
          * @return java <code>Type</code> representation of <code>type</code>.\r
-         *          If <code>type</code> isn't found then <code>null</code> is\r
-         *          returned.\r
+         *         If <code>type</code> isn't found then <code>null</code> is\r
+         *         returned.\r
          */\r
         @Override\r
         public Type javaTypeForSchemaDefinitionType(TypeDefinition<?> type, SchemaNode parentNode) {\r