diff --git a/src/main/java/cc/fascinated/controller/PlayerController.java b/src/main/java/cc/fascinated/controller/PlayerController.java index e531aff..f2ddd79 100644 --- a/src/main/java/cc/fascinated/controller/PlayerController.java +++ b/src/main/java/cc/fascinated/controller/PlayerController.java @@ -7,12 +7,10 @@ import cc.fascinated.service.PlayerService; import cc.fascinated.util.PlayerUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.CacheControl; -import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; -import java.util.Map; import java.util.concurrent.TimeUnit; @RestController diff --git a/src/main/java/cc/fascinated/model/response/Response.java b/src/main/java/cc/fascinated/model/response/Response.java index 49101b2..d44ea2c 100644 --- a/src/main/java/cc/fascinated/model/response/Response.java +++ b/src/main/java/cc/fascinated/model/response/Response.java @@ -1,11 +1,9 @@ package cc.fascinated.model.response; -import io.micrometer.common.lang.NonNull; import lombok.AllArgsConstructor; import lombok.Getter; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; -import org.springframework.web.servlet.function.EntityResponse; @Getter @AllArgsConstructor public class Response {