From: Manuel Carrasco MoƱino Date: Tue, 10 Dec 2013 10:35:23 +0000 (+0100) Subject: Fixing broken code introduced in commit 0f3d35d4999c215d961197c86ee60319b648e696 X-Git-Tag: release-1.4.0~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d01b00ce50eb63fed97521a71eccafb804bf6c75;p=gwtquery.git Fixing broken code introduced in commit 0f3d35d4999c215d961197c86ee60319b648e696 --- diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsMap.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsMap.java index 6bc43077..d912a7f2 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsMap.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsMap.java @@ -49,9 +49,9 @@ final public class JsMap extends JavaScriptObject { return old; } - public T remove(int hashCode){ - T old = get(hashCode); - c().delete(hashCode()); + public T remove(int key){ + T old = get(key); + c().delete(key); return old; }