From d01b00ce50eb63fed97521a71eccafb804bf6c75 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20Carrasco=20Mo=C3=B1ino?= Date: Tue, 10 Dec 2013 11:35:23 +0100 Subject: [PATCH] Fixing broken code introduced in commit 0f3d35d4999c215d961197c86ee60319b648e696 --- .../src/main/java/com/google/gwt/query/client/js/JsMap.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.39.5