Author: jdonnerstag Date: Sat Jul 2 22:10:43 2011 New Revision: 1142331 URL: http://svn.apache.org/viewvc?rev=1142331&view=rev Log: remove unused imports
Modified: wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/AbstractMarkupParser.java wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/html/IPackageResourceGuard.java wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/StyleAndScriptIdentifier.java wicket/trunk/wicket-core/src/main/java/org/apache/wicket/request/mapper/ResourceReferenceMapper.java wicket/trunk/wicket-core/src/test/java/org/apache/wicket/RedirectApplication.java wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/html/MarkupInheritanceResolverTestPage1.java wicket/trunk/wicket-core/src/test/java/org/apache/wicket/protocol/https/HttpsMapperApplicationTest.java wicket/trunk/wicket-core/src/test/java/org/apache/wicket/redirect/intercept/TargetPage.java wicket/trunk/wicket-core/src/test/java/org/apache/wicket/request/mapper/PageInstanceMapperTest.java wicket/trunk/wicket-core/src/test/java/org/apache/wicket/request/mapper/info/ComponentInfoTest.java wicket/trunk/wicket-core/src/test/java/org/apache/wicket/util/collections/MicroMapTest.java Modified: wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/AbstractMarkupParser.java URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/AbstractMarkupParser.java?rev=1142331&r1=1142330&r2=1142331&view=diff ============================================================================== --- wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/AbstractMarkupParser.java (original) +++ wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/AbstractMarkupParser.java Sat Jul 2 22:10:43 2011 @@ -16,6 +16,12 @@ */ package org.apache.wicket.markup; +import java.io.IOException; +import java.text.ParseException; +import java.util.List; +import java.util.regex.Matcher; +import java.util.regex.Pattern; + import org.apache.wicket.Application; import org.apache.wicket.markup.parser.IMarkupFilter; import org.apache.wicket.markup.parser.IXmlPullParser; @@ -27,12 +33,6 @@ import org.apache.wicket.util.resource.S import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import java.io.IOException; -import java.text.ParseException; -import java.util.List; -import java.util.regex.Matcher; -import java.util.regex.Pattern; - /** * This is a base MarkupParser specifically for (X)HTML. It makes use of a streaming XML parser to * read the markup and IMarkupFilters to remove comments, identify Wicket relevant tags, apply html Modified: wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/html/IPackageResourceGuard.java URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/html/IPackageResourceGuard.java?rev=1142331&r1=1142330&r2=1142331&view=diff ============================================================================== --- wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/html/IPackageResourceGuard.java (original) +++ wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/html/IPackageResourceGuard.java Sat Jul 2 22:10:43 2011 @@ -16,6 +16,8 @@ */ package org.apache.wicket.markup.html; +import org.apache.wicket.request.resource.PackageResource; + /** * Guards lazily loaded {@link PackageResource package resources} against unwanted access. Modified: wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/StyleAndScriptIdentifier.java URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/StyleAndScriptIdentifier.java?rev=1142331&r1=1142330&r2=1142331&view=diff ============================================================================== --- wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/StyleAndScriptIdentifier.java (original) +++ wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/StyleAndScriptIdentifier.java Sat Jul 2 22:10:43 2011 @@ -16,6 +16,8 @@ */ package org.apache.wicket.markup.parser.filter; +import java.text.ParseException; + import org.apache.wicket.markup.ComponentTag; import org.apache.wicket.markup.Markup; import org.apache.wicket.markup.MarkupElement; @@ -24,8 +26,6 @@ import org.apache.wicket.markup.parser.A import org.apache.wicket.markup.parser.XmlPullParser; import org.apache.wicket.util.string.JavaScriptUtils; -import java.text.ParseException; - /** * Modified: wicket/trunk/wicket-core/src/main/java/org/apache/wicket/request/mapper/ResourceReferenceMapper.java URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/main/java/org/apache/wicket/request/mapper/ResourceReferenceMapper.java?rev=1142331&r1=1142330&r2=1142331&view=diff ============================================================================== --- wicket/trunk/wicket-core/src/main/java/org/apache/wicket/request/mapper/ResourceReferenceMapper.java (original) +++ wicket/trunk/wicket-core/src/main/java/org/apache/wicket/request/mapper/ResourceReferenceMapper.java Sat Jul 2 22:10:43 2011 @@ -17,8 +17,8 @@ package org.apache.wicket.request.mapper; import org.apache.wicket.request.mapper.parameter.IPageParametersEncoder; -import org.apache.wicket.request.resource.caching.IResourceCachingStrategy; import org.apache.wicket.request.resource.ResourceReference; +import org.apache.wicket.request.resource.caching.IResourceCachingStrategy; import org.apache.wicket.util.IProvider; /** Modified: wicket/trunk/wicket-core/src/test/java/org/apache/wicket/RedirectApplication.java URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/test/java/org/apache/wicket/RedirectApplication.java?rev=1142331&r1=1142330&r2=1142331&view=diff ============================================================================== --- wicket/trunk/wicket-core/src/test/java/org/apache/wicket/RedirectApplication.java (original) +++ wicket/trunk/wicket-core/src/test/java/org/apache/wicket/RedirectApplication.java Sat Jul 2 22:10:43 2011 @@ -16,8 +16,6 @@ */ package org.apache.wicket; -import org.apache.wicket.Page; -import org.apache.wicket.RestartResponseAtInterceptPageException; import org.apache.wicket.mock.MockApplication; /** Modified: wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/html/MarkupInheritanceResolverTestPage1.java URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/html/MarkupInheritanceResolverTestPage1.java?rev=1142331&r1=1142330&r2=1142331&view=diff ============================================================================== --- wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/html/MarkupInheritanceResolverTestPage1.java (original) +++ wicket/trunk/wicket-core/src/test/java/org/apache/wicket/markup/html/MarkupInheritanceResolverTestPage1.java Sat Jul 2 22:10:43 2011 @@ -16,7 +16,6 @@ */ package org.apache.wicket.markup.html; -import org.apache.wicket.markup.html.WebPage; import org.apache.wicket.markup.html.basic.Label; /** */ Modified: wicket/trunk/wicket-core/src/test/java/org/apache/wicket/protocol/https/HttpsMapperApplicationTest.java URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/test/java/org/apache/wicket/protocol/https/HttpsMapperApplicationTest.java?rev=1142331&r1=1142330&r2=1142331&view=diff ============================================================================== --- wicket/trunk/wicket-core/src/test/java/org/apache/wicket/protocol/https/HttpsMapperApplicationTest.java (original) +++ wicket/trunk/wicket-core/src/test/java/org/apache/wicket/protocol/https/HttpsMapperApplicationTest.java Sat Jul 2 22:10:43 2011 @@ -16,12 +16,13 @@ */ package org.apache.wicket.protocol.https; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; + import org.apache.wicket.Page; import org.apache.wicket.util.tester.WicketTester; import org.junit.Test; -import static org.junit.Assert.*; - /** * Test for proper switching of http and https in {@link WicketTester} */ Modified: wicket/trunk/wicket-core/src/test/java/org/apache/wicket/redirect/intercept/TargetPage.java URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/test/java/org/apache/wicket/redirect/intercept/TargetPage.java?rev=1142331&r1=1142330&r2=1142331&view=diff ============================================================================== --- wicket/trunk/wicket-core/src/test/java/org/apache/wicket/redirect/intercept/TargetPage.java (original) +++ wicket/trunk/wicket-core/src/test/java/org/apache/wicket/redirect/intercept/TargetPage.java Sat Jul 2 22:10:43 2011 @@ -16,6 +16,7 @@ */ package org.apache.wicket.redirect.intercept; +import org.apache.wicket.RestartResponseAtInterceptPageException; import org.apache.wicket.markup.html.WebPage; import org.apache.wicket.markup.html.basic.Label; Modified: wicket/trunk/wicket-core/src/test/java/org/apache/wicket/request/mapper/PageInstanceMapperTest.java URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/test/java/org/apache/wicket/request/mapper/PageInstanceMapperTest.java?rev=1142331&r1=1142330&r2=1142331&view=diff ============================================================================== --- wicket/trunk/wicket-core/src/test/java/org/apache/wicket/request/mapper/PageInstanceMapperTest.java (original) +++ wicket/trunk/wicket-core/src/test/java/org/apache/wicket/request/mapper/PageInstanceMapperTest.java Sat Jul 2 22:10:43 2011 @@ -27,9 +27,6 @@ import org.apache.wicket.request.handler import org.apache.wicket.request.handler.PageAndComponentProvider; import org.apache.wicket.request.handler.PageProvider; import org.apache.wicket.request.handler.RenderPageRequestHandler; -import org.apache.wicket.request.mapper.IMapperContext; -import org.apache.wicket.request.mapper.PageInstanceMapper; -import org.apache.wicket.request.mapper.StalePageException; /** * Modified: wicket/trunk/wicket-core/src/test/java/org/apache/wicket/request/mapper/info/ComponentInfoTest.java URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/test/java/org/apache/wicket/request/mapper/info/ComponentInfoTest.java?rev=1142331&r1=1142330&r2=1142331&view=diff ============================================================================== --- wicket/trunk/wicket-core/src/test/java/org/apache/wicket/request/mapper/info/ComponentInfoTest.java (original) +++ wicket/trunk/wicket-core/src/test/java/org/apache/wicket/request/mapper/info/ComponentInfoTest.java Sat Jul 2 22:10:43 2011 @@ -16,8 +16,6 @@ */ package org.apache.wicket.request.mapper.info; -import org.apache.wicket.request.mapper.info.ComponentInfo; - import junit.framework.TestCase; /** Modified: wicket/trunk/wicket-core/src/test/java/org/apache/wicket/util/collections/MicroMapTest.java URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/test/java/org/apache/wicket/util/collections/MicroMapTest.java?rev=1142331&r1=1142330&r2=1142331&view=diff ============================================================================== --- wicket/trunk/wicket-core/src/test/java/org/apache/wicket/util/collections/MicroMapTest.java (original) +++ wicket/trunk/wicket-core/src/test/java/org/apache/wicket/util/collections/MicroMapTest.java Sat Jul 2 22:10:43 2011 @@ -19,9 +19,9 @@ package org.apache.wicket.util.collectio import java.util.Collection; import java.util.Iterator; import java.util.Map; +import java.util.Map.Entry; import java.util.NoSuchElementException; import java.util.Set; -import java.util.Map.Entry; import junit.framework.TestCase;