]> source.dussan.org Git - gwtquery.git/commitdiff
Casting
authorManolo Carrasco <manolo@vaadin.com>
Tue, 26 Apr 2016 08:53:06 +0000 (10:53 +0200)
committerManolo Carrasco <manolo@vaadin.com>
Tue, 26 Apr 2016 08:53:06 +0000 (10:53 +0200)
samples/src/main/java/gwtquery/samples/client/GwtQueryBenchModule.java

index 1bb739548784fac0b4f5a5d9b1c4d329dc3f764d..0820c694d9492fa939ac9be39bee243f012721fe 100644 (file)
@@ -503,7 +503,7 @@ public class GwtQueryBenchModule implements EntryPoint {
     ArrayList<Benchmark> bs = new ArrayList<Benchmark>();
     for (Element e : $("input", selectPanel.getElement()).elements()) {
       String val = $(e).val().replaceAll(" .*$", "");
-      if ($(e).prop("checked")) {
+      if ($(e).<Boolean>prop("checked")) {
         for (Benchmark b : benchmarks) {
           if (b.getId().equals(val)) {
             bs.add(b);