Cleanup checkstyle in yang-{data,model}-api
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / stmt / SchemaNodeIdentifier.java
index 4a6236300737be2a514a49df8ee4180cec0b6daf..12f8ec04f89c12fc2e7873653d215d7c7d75d097 100644 (file)
@@ -109,12 +109,12 @@ public abstract class SchemaNodeIdentifier implements Immutable {
         this.parent = parent;
         this.qname = qname;
 
-        int h = Objects.hashCode(parent);
+        int tmp = Objects.hashCode(parent);
         if (qname != null) {
-            h = h * 31 + qname.hashCode();
+            tmp = tmp * 31 + qname.hashCode();
         }
 
-        hash = h;
+        hash = tmp;
     }
 
     private ImmutableList<QName> getLegacyPath() {