From 88697e913d257bb78571616d2b377a9f61dd7421 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 29 Nov 2019 18:08:14 +0100 Subject: [PATCH] =?utf8?q?=F0=9F=8E=A8=20Reorganize=20some=20imports?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/java/net/pterodactylus/sone/main/DefaultLoaders.java | 4 ++-- src/test/kotlin/net/pterodactylus/sone/web/WebInterfaceModuleTest.kt | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/java/net/pterodactylus/sone/main/DefaultLoaders.java b/src/main/java/net/pterodactylus/sone/main/DefaultLoaders.java index 8e02573..2a2bd8c 100644 --- a/src/main/java/net/pterodactylus/sone/main/DefaultLoaders.java +++ b/src/main/java/net/pterodactylus/sone/main/DefaultLoaders.java @@ -1,7 +1,5 @@ package net.pterodactylus.sone.main; -import static net.pterodactylus.util.template.TemplateParser.parse; - import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; @@ -17,6 +15,8 @@ import net.pterodactylus.util.web.Page; import net.pterodactylus.util.web.Request; import net.pterodactylus.util.web.StaticPage; +import static net.pterodactylus.util.template.TemplateParser.parse; + /** * Default {@link Loaders} implementation that loads resources from the classpath. */ diff --git a/src/test/kotlin/net/pterodactylus/sone/web/WebInterfaceModuleTest.kt b/src/test/kotlin/net/pterodactylus/sone/web/WebInterfaceModuleTest.kt index 2bb31c9..c03d9f8 100644 --- a/src/test/kotlin/net/pterodactylus/sone/web/WebInterfaceModuleTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/web/WebInterfaceModuleTest.kt @@ -3,7 +3,6 @@ package net.pterodactylus.sone.web import com.google.inject.Guice.* import freenet.client.* import freenet.clients.http.* -import freenet.l10n.* import freenet.support.api.* import net.pterodactylus.sone.core.* import net.pterodactylus.sone.data.* @@ -21,9 +20,8 @@ import net.pterodactylus.util.template.* import net.pterodactylus.util.web.* import org.hamcrest.MatcherAssert.* import org.hamcrest.Matchers.* -import org.junit.* import java.util.* -import kotlin.test.Test +import kotlin.test.* class WebInterfaceModuleTest { -- 2.7.4