aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@vaadin.com>2016-04-26 10:53:06 +0200
committerManolo Carrasco <manolo@vaadin.com>2016-04-26 10:53:06 +0200
commit09531e523b533a7b408cc1a7a8ecdd59be490766 (patch)
tree69c241cd0893314b1db47dee769eb02ed6d21b4a
parent13aa63d46b61db8dfb63818dc5716caabd6c49b3 (diff)
downloadgwtquery-09531e523b533a7b408cc1a7a8ecdd59be490766.tar.gz
gwtquery-09531e523b533a7b408cc1a7a8ecdd59be490766.zip
Casting
-rw-r--r--samples/src/main/java/gwtquery/samples/client/GwtQueryBenchModule.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/src/main/java/gwtquery/samples/client/GwtQueryBenchModule.java b/samples/src/main/java/gwtquery/samples/client/GwtQueryBenchModule.java
index 1bb73954..0820c694 100644
--- a/samples/src/main/java/gwtquery/samples/client/GwtQueryBenchModule.java
+++ b/samples/src/main/java/gwtquery/samples/client/GwtQueryBenchModule.java
@@ -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);