BUG-865: remove HashCodeBuilder.toInstance() 52/26952/2
authorRobert Varga <rovarga@cisco.com>
Mon, 14 Sep 2015 14:58:13 +0000 (16:58 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 16 Sep 2015 14:19:15 +0000 (14:19 +0000)
This method was deprecated in favor of build() in Lithium, remove it.

Change-Id: I52ce7aef4ff7a4ed29bb9a4a8a1a8bd6be09fe94
Signed-off-by: Robert Varga <rovarga@cisco.com>
common/util/src/main/java/org/opendaylight/yangtools/util/HashCodeBuilder.java

index fc8da01f1ae01b9da077533f1b9abf9fbfeb2ec6..f629ee53a9bdbf0679f4a3b6165c86b2f07914b8 100644 (file)
@@ -73,9 +73,4 @@ public final class HashCodeBuilder<T> implements Builder<Integer> {
     public Integer build() {
         return currentHash;
     }
-
-    @Deprecated
-    public Integer toInstance() {
-        return currentHash;
-    }
 }