From 0c8f769ee73848341e4523733d1284731a7891e2 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 13 Apr 2024 14:08:12 +0100 Subject: [PATCH] cleanup imports --- src/main/java/cc/fascinated/Main.java | 4 ---- src/main/java/cc/fascinated/common/renderer/SkinRenderer.java | 2 -- src/main/java/cc/fascinated/log/TransactionLogger.java | 3 --- 3 files changed, 9 deletions(-) diff --git a/src/main/java/cc/fascinated/Main.java b/src/main/java/cc/fascinated/Main.java index 7b5727e..1b01d49 100644 --- a/src/main/java/cc/fascinated/Main.java +++ b/src/main/java/cc/fascinated/Main.java @@ -2,14 +2,10 @@ package cc.fascinated; import com.google.gson.Gson; import com.google.gson.GsonBuilder; -import lombok.NonNull; import lombok.SneakyThrows; import lombok.extern.log4j.Log4j2; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.context.annotation.Bean; -import org.springframework.web.servlet.config.annotation.CorsRegistry; -import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; import java.io.File; import java.net.http.HttpClient; diff --git a/src/main/java/cc/fascinated/common/renderer/SkinRenderer.java b/src/main/java/cc/fascinated/common/renderer/SkinRenderer.java index 3e31a41..9b140db 100644 --- a/src/main/java/cc/fascinated/common/renderer/SkinRenderer.java +++ b/src/main/java/cc/fascinated/common/renderer/SkinRenderer.java @@ -5,8 +5,6 @@ import cc.fascinated.model.skin.ISkinPart; import cc.fascinated.model.skin.Skin; import lombok.SneakyThrows; import lombok.extern.log4j.Log4j2; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import javax.imageio.ImageIO; import java.awt.*; diff --git a/src/main/java/cc/fascinated/log/TransactionLogger.java b/src/main/java/cc/fascinated/log/TransactionLogger.java index 75226e5..bda1f3c 100644 --- a/src/main/java/cc/fascinated/log/TransactionLogger.java +++ b/src/main/java/cc/fascinated/log/TransactionLogger.java @@ -2,7 +2,6 @@ package cc.fascinated.log; import cc.fascinated.common.IPUtils; import jakarta.servlet.http.HttpServletRequest; -import jakarta.servlet.http.HttpServletResponse; import lombok.NonNull; import lombok.extern.slf4j.Slf4j; import org.springframework.core.MethodParameter; @@ -11,12 +10,10 @@ import org.springframework.http.converter.HttpMessageConverter; import org.springframework.http.server.ServerHttpRequest; import org.springframework.http.server.ServerHttpResponse; import org.springframework.http.server.ServletServerHttpRequest; -import org.springframework.http.server.ServletServerHttpResponse; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice; import java.util.Arrays; -import java.util.Enumeration; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry;