Fixing sonar issues 4
[yangtools.git] / yang / yang-model-util / src / main / java / org / opendaylight / yangtools / yang / model / util / Uint16.java
index 05cead85ff07f8f51e9f0de5e66545bd2cfe4f3b..120f4926cf875b6c0c90f398711d594dea810142 100644 (file)
@@ -14,11 +14,11 @@ import org.opendaylight.yangtools.yang.model.api.type.UnsignedIntegerTypeDefinit
  * Implementation of Yang uint16 built-in type. <br>
  * uint16 represents integer values between 0 and 65535, inclusively. The Java
  * counterpart of Yang uint16 built-in type is {@link Integer}.
- *
+ * 
  */
 public final class Uint16 extends AbstractUnsignedInteger {
     public static final int MAX_VALUE = 65535;
-    private static Uint16 INSTANCE;
+    private static Uint16 instance;
     private static final QName NAME = BaseTypes.constructQName("uint16");
     private static final String DESCRIPTION = "uint16 represents integer values between 0 and 65535, inclusively.";
 
@@ -27,10 +27,10 @@ public final class Uint16 extends AbstractUnsignedInteger {
     }
 
     public static Uint16 getInstance() {
-        if (INSTANCE == null) {
-            INSTANCE = new Uint16();
+        if (instance == null) {
+            instance = new Uint16();
         }
-        return INSTANCE;
+        return instance;
     }
 
     @Override