Shift Builder<P> from toInstance() to build()
[yangtools.git] / common / util / src / main / java / org / opendaylight / yangtools / util / HashCodeBuilder.java
index 874809f13c77e74dba17f1fa21ed9e1877ef64d1..99da089384286c1b009528c36cd27ff8d4fda459 100644 (file)
@@ -58,6 +58,11 @@ public final class HashCodeBuilder<T> implements Builder<Integer> {
     }
 
     @Override
+    public Integer build() {
+        return currentHash;
+    }
+
+    @Deprecated
     public Integer toInstance() {
         return currentHash;
     }