]> source.dussan.org Git - gwtquery.git/commitdiff
Fixing broken code introduced in commit 0f3d35d4999c215d961197c86ee60319b648e696
authorManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Tue, 10 Dec 2013 10:35:23 +0000 (11:35 +0100)
committerManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Tue, 10 Dec 2013 10:35:23 +0000 (11:35 +0100)
gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsMap.java

index 6bc43077b624acb578ed80f3d227ffda22d03a83..d912a7f2708289e09b4cccb52be2655e16534e64 100644 (file)
@@ -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;
   }