From: David ‘Bombe’ Roden Date: Fri, 29 Nov 2019 17:08:14 +0000 (+0100) Subject: 🎨 Reorganize some imports X-Git-Tag: v81^2~13 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=52794964b8c5a870477fa26c5dfdcdf55ea44f91;p=Sone.git 🎨 Reorganize some imports --- 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 {