]> source.dussan.org Git - gwtquery.git/commitdiff
Fixing test so as they run with java 1.6
authorManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Sat, 9 Nov 2013 15:24:18 +0000 (16:24 +0100)
committerManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Sat, 9 Nov 2013 15:24:18 +0000 (16:24 +0100)
gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCoreTestGwt.java

index d6d824c2a1ffbe4ff41bc53d1042d9ba99160ab1..76ed554f2777f164554a741ca9a0025a6baef399 100644 (file)
@@ -1571,14 +1571,14 @@ public class GQueryCoreTestGwt extends GWTTestCase {
                .data("string", "foo")
                .data("object", o);
 
-    double d = g.data("number");
+    Double d = g.data("number");
     assertEquals(3.5d, d);
     int i = g.data("number", Integer.class);
     assertEquals(3, i);
     long l = g.data("number", Long.class);
     assertEquals(3l, l);
 
-    boolean b = g.data("bool");
+    Boolean b = g.data("bool");
     assertTrue(b);
 
     String s = g.data("string");