aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>2013-12-10 11:35:23 +0100
committerManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>2013-12-10 11:35:23 +0100
commitd01b00ce50eb63fed97521a71eccafb804bf6c75 (patch)
treeb32f2ec9f719f77db4d8f3d0bc384bfd2774ac34
parent3f395a181c89bbe8d9de12d7c70583da3ea08bb3 (diff)
downloadgwtquery-d01b00ce50eb63fed97521a71eccafb804bf6c75.tar.gz
gwtquery-d01b00ce50eb63fed97521a71eccafb804bf6c75.zip
Fixing broken code introduced in commit 0f3d35d4999c215d961197c86ee60319b648e696
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsMap.java6
1 files 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<S, T> 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;
}