From 0a6c4e34c43c9731058d2acc0f3591a13f871135 Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Mon, 28 Feb 2011 21:52:09 +0000 Subject: Remove redundant methods --- .../src/test/java/com/google/gwt/query/client/GQueryCoreTest.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gwtquery-core/src/test') diff --git a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCoreTest.java b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCoreTest.java index 5d5be8fd..304dc9e8 100644 --- a/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCoreTest.java +++ b/gwtquery-core/src/test/java/com/google/gwt/query/client/GQueryCoreTest.java @@ -19,7 +19,7 @@ import static com.google.gwt.query.client.GQuery.$; import static com.google.gwt.query.client.GQuery.$$; import static com.google.gwt.query.client.GQuery.document; -import java.util.ArrayList; +import java.util.List; import junit.framework.Assert; @@ -786,7 +786,6 @@ public class GQueryCoreTest extends GWTTestCase { assertEquals(true, isAttachedToTheDOM); } - @SuppressWarnings("unchecked") public void testGQueryWidgets() { final Button b1 = new Button("click-me"); RootPanel.get().add(b1); @@ -817,7 +816,7 @@ public class GQueryCoreTest extends GWTTestCase { String content = "

"; $(e).html(content); - ArrayList s = $("p", e).map(new Function() { + List s = $("p", e).map(new Function() { public Object f(Element e, int i) { return null; } @@ -837,7 +836,7 @@ public class GQueryCoreTest extends GWTTestCase { assertEquals("4", s.get(2)); - ArrayList a = $("p", e).map(new Function() { + List a = $("p", e).map(new Function() { public Object f(Element e, int i) { String id = $(e).attr("id"); return id.isEmpty() ? null: e; -- cgit v1.2.3