aboutsummaryrefslogtreecommitdiffstats
path: root/gwtquery-core
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2011-04-10 21:05:20 +0000
committerManolo Carrasco <manolo@apache.org>2011-04-10 21:05:20 +0000
commitb9e00714d712fbec5390206f4f858ca6dce14881 (patch)
treef3b6c79ac14d033dcc376f6d4fb3f433def90f9f /gwtquery-core
parentbed2ae05cb67a0e8f81b3e88057645a113ec92cb (diff)
downloadgwtquery-b9e00714d712fbec5390206f4f858ca6dce14881.tar.gz
gwtquery-b9e00714d712fbec5390206f4f858ca6dce14881.zip
fixing compilation
Diffstat (limited to 'gwtquery-core')
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsNamedArray.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsNamedArray.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsNamedArray.java
index 560f2d06..92ca43b9 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsNamedArray.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsNamedArray.java
@@ -30,8 +30,9 @@ final public class JsNamedArray<T> extends JavaScriptObject {
return cast();
}
+ @SuppressWarnings("unchecked")
public T get(String key) {
- return c().get(key);
+ return (T)c().get(key);
}
public void put(String key, T val) {