]> source.dussan.org Git - gwtquery.git/commitdiff
fixing compilation
authorManolo Carrasco <manolo@apache.org>
Sun, 10 Apr 2011 21:05:20 +0000 (21:05 +0000)
committerManolo Carrasco <manolo@apache.org>
Sun, 10 Apr 2011 21:05:20 +0000 (21:05 +0000)
gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsNamedArray.java

index 560f2d06252d65121029cfb899b6404d6362e252..92ca43b9eb0cc780a4f5e2d315409fee151db1b9 100644 (file)
@@ -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) {