Fix findbugs in yang-common and enable enforcement
[yangtools.git] / yang / yang-common / src / main / java / org / opendaylight / yangtools / yang / common / QNameModule.java
index e8fa76a01822b1ce4896ff396f03c3605f076aec..8b3db1cf824eaac4d3249768b47cd6d18f05f1c4 100644 (file)
@@ -35,7 +35,7 @@ public final class QNameModule implements Comparable<QNameModule>, Immutable, Se
     //Nullable
     private final Revision revision;
 
-    private transient int hash;
+    private transient int hash = 0;
 
     private QNameModule(final @NonNull URI namespace, final Revision revision) {
         this.namespace = requireNonNull(namespace);