From 2bd471d6070138b35dc62ec9feab20e3cfa4f792 Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Sat, 6 Apr 2024 19:20:02 -0400 Subject: [PATCH] Cleanup --- src/main/java/me/braydon/mc/controller/ServerController.java | 3 --- src/main/java/me/braydon/mc/model/MinecraftServer.java | 2 -- .../me/braydon/mc/model/server/BedrockMinecraftServer.java | 1 - 3 files changed, 6 deletions(-) diff --git a/src/main/java/me/braydon/mc/controller/ServerController.java b/src/main/java/me/braydon/mc/controller/ServerController.java index e2cb788..f4e64a3 100644 --- a/src/main/java/me/braydon/mc/controller/ServerController.java +++ b/src/main/java/me/braydon/mc/controller/ServerController.java @@ -3,14 +3,11 @@ package me.braydon.mc.controller; import lombok.NonNull; import lombok.extern.log4j.Log4j2; import me.braydon.mc.model.MinecraftServer; -import me.braydon.mc.model.server.JavaMinecraftServer; import me.braydon.mc.service.MojangService; -import me.braydon.mc.service.pinger.impl.JavaMinecraftServerPinger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; -import org.yaml.snakeyaml.util.EnumUtils; /** * The controller for handling diff --git a/src/main/java/me/braydon/mc/model/MinecraftServer.java b/src/main/java/me/braydon/mc/model/MinecraftServer.java index c6bfad5..965e5a6 100644 --- a/src/main/java/me/braydon/mc/model/MinecraftServer.java +++ b/src/main/java/me/braydon/mc/model/MinecraftServer.java @@ -5,8 +5,6 @@ import me.braydon.mc.service.pinger.MinecraftServerPinger; import me.braydon.mc.service.pinger.impl.BedrockMinecraftServerPinger; import me.braydon.mc.service.pinger.impl.JavaMinecraftServerPinger; -import java.beans.JavaBean; - /** * A model representing a Minecraft server. * diff --git a/src/main/java/me/braydon/mc/model/server/BedrockMinecraftServer.java b/src/main/java/me/braydon/mc/model/server/BedrockMinecraftServer.java index ce32940..5225f4a 100644 --- a/src/main/java/me/braydon/mc/model/server/BedrockMinecraftServer.java +++ b/src/main/java/me/braydon/mc/model/server/BedrockMinecraftServer.java @@ -2,7 +2,6 @@ package me.braydon.mc.model.server; import lombok.NonNull; import me.braydon.mc.model.MinecraftServer; -import me.braydon.mc.model.token.JavaServerStatusToken; /** * A Bedrock edition {@link MinecraftServer}.