From bda70b19a8d97c59ba1c8484b359e7b573f13475 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 13 Apr 2024 17:21:49 +0100 Subject: [PATCH] cleanup imports --- src/main/java/cc/fascinated/model/cache/CachedPlayer.java | 1 - src/main/java/cc/fascinated/model/cache/CachedPlayerName.java | 3 ++- src/main/java/cc/fascinated/service/MojangService.java | 1 - src/main/java/cc/fascinated/service/PlayerService.java | 1 - src/main/java/cc/fascinated/service/ServerService.java | 1 - 5 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/java/cc/fascinated/model/cache/CachedPlayer.java b/src/main/java/cc/fascinated/model/cache/CachedPlayer.java index a901c7a..4dce392 100644 --- a/src/main/java/cc/fascinated/model/cache/CachedPlayer.java +++ b/src/main/java/cc/fascinated/model/cache/CachedPlayer.java @@ -2,7 +2,6 @@ package cc.fascinated.model.cache; import cc.fascinated.model.player.Player; import com.fasterxml.jackson.annotation.JsonIgnore; -import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; diff --git a/src/main/java/cc/fascinated/model/cache/CachedPlayerName.java b/src/main/java/cc/fascinated/model/cache/CachedPlayerName.java index 4c01c0d..da9c246 100644 --- a/src/main/java/cc/fascinated/model/cache/CachedPlayerName.java +++ b/src/main/java/cc/fascinated/model/cache/CachedPlayerName.java @@ -1,6 +1,7 @@ package cc.fascinated.model.cache; -import lombok.*; +import lombok.Getter; +import lombok.ToString; import org.springframework.data.annotation.Id; import org.springframework.data.redis.core.RedisHash; diff --git a/src/main/java/cc/fascinated/service/MojangService.java b/src/main/java/cc/fascinated/service/MojangService.java index 7d2eca2..18aac29 100644 --- a/src/main/java/cc/fascinated/service/MojangService.java +++ b/src/main/java/cc/fascinated/service/MojangService.java @@ -5,7 +5,6 @@ import cc.fascinated.common.EndpointStatus; import cc.fascinated.common.ExpiringSet; import cc.fascinated.common.WebRequest; import cc.fascinated.config.Config; -import cc.fascinated.model.cache.CacheInformation; import cc.fascinated.model.cache.CachedEndpointStatus; import cc.fascinated.model.mojang.MojangProfile; import cc.fascinated.model.mojang.MojangUsernameToUuid; diff --git a/src/main/java/cc/fascinated/service/PlayerService.java b/src/main/java/cc/fascinated/service/PlayerService.java index 5d67ab7..4aad9d1 100644 --- a/src/main/java/cc/fascinated/service/PlayerService.java +++ b/src/main/java/cc/fascinated/service/PlayerService.java @@ -9,7 +9,6 @@ import cc.fascinated.exception.impl.BadRequestException; import cc.fascinated.exception.impl.MojangAPIRateLimitException; import cc.fascinated.exception.impl.RateLimitException; import cc.fascinated.exception.impl.ResourceNotFoundException; -import cc.fascinated.model.cache.CacheInformation; import cc.fascinated.model.cache.CachedPlayer; import cc.fascinated.model.cache.CachedPlayerName; import cc.fascinated.model.cache.CachedPlayerSkinPart; diff --git a/src/main/java/cc/fascinated/service/ServerService.java b/src/main/java/cc/fascinated/service/ServerService.java index 276d11a..49f61e6 100644 --- a/src/main/java/cc/fascinated/service/ServerService.java +++ b/src/main/java/cc/fascinated/service/ServerService.java @@ -5,7 +5,6 @@ import cc.fascinated.common.EnumUtils; import cc.fascinated.config.Config; import cc.fascinated.exception.impl.BadRequestException; import cc.fascinated.exception.impl.ResourceNotFoundException; -import cc.fascinated.model.cache.CacheInformation; import cc.fascinated.model.cache.CachedMinecraftServer; import cc.fascinated.model.dns.DNSRecord; import cc.fascinated.model.dns.impl.ARecord;