Use non-deprecated JUnit classes Optimimize imports. Fix a typo in javadoc.
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/803af5d8 Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/803af5d8 Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/803af5d8 Branch: refs/heads/master Commit: 803af5d84288caff8610924facbf71e4d16d8e4b Parents: 580d92d Author: Martin Tzvetanov Grigorov <[email protected]> Authored: Sat Jan 16 10:28:02 2016 +0100 Committer: Martin Tzvetanov Grigorov <[email protected]> Committed: Fri Jan 22 21:37:48 2016 +0100 ---------------------------------------------------------------------- .../test/java/org/apache/wicket/cdi/CdiWicketTester.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/803af5d8/wicket-cdi-1.1/src/test/java/org/apache/wicket/cdi/CdiWicketTester.java ---------------------------------------------------------------------- diff --git a/wicket-cdi-1.1/src/test/java/org/apache/wicket/cdi/CdiWicketTester.java b/wicket-cdi-1.1/src/test/java/org/apache/wicket/cdi/CdiWicketTester.java index 3a1870e..35bec1b 100644 --- a/wicket-cdi-1.1/src/test/java/org/apache/wicket/cdi/CdiWicketTester.java +++ b/wicket-cdi-1.1/src/test/java/org/apache/wicket/cdi/CdiWicketTester.java @@ -16,8 +16,8 @@ */ package org.apache.wicket.cdi; -import static junit.framework.Assert.assertEquals; -import static junit.framework.Assert.assertTrue; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; import java.util.regex.Matcher; import java.util.regex.Pattern; @@ -26,9 +26,6 @@ import javax.annotation.PreDestroy; import javax.inject.Inject; import org.apache.wicket.Page; -import org.apache.wicket.cdi.CdiConfiguration; -import org.apache.wicket.cdi.ConversationPropagator; -import org.apache.wicket.cdi.NonContextual; import org.apache.wicket.protocol.http.WebApplication; import org.apache.wicket.protocol.http.mock.MockHttpServletRequest; import org.apache.wicket.request.IRequestHandler; @@ -113,7 +110,7 @@ public class CdiWicketTester extends WicketTester } /** - * Asserts that the respons contains the right count. This can only be done + * Asserts that the response contains the right count. This can only be done * by parsing the markup because models only contain valid values during a * request, not after. *
