rename util to common
Some checks failed
deploy / deploy (push) Failing after 1m19s

This commit is contained in:
Lee 2024-04-08 19:47:20 +01:00
parent a57f660461
commit fd16476143
12 changed files with 14 additions and 14 deletions

View File

@ -1,4 +1,4 @@
package cc.fascinated.util;
package cc.fascinated.common;
import jakarta.servlet.http.HttpServletRequest;
import lombok.experimental.UtilityClass;

View File

@ -1,4 +1,4 @@
package cc.fascinated.util;
package cc.fascinated.common;
import cc.fascinated.Main;
import cc.fascinated.model.player.Skin;

View File

@ -1,4 +1,4 @@
package cc.fascinated.util;
package cc.fascinated.common;
import lombok.AllArgsConstructor;
import lombok.Getter;

View File

@ -1,4 +1,4 @@
package cc.fascinated.util;
package cc.fascinated.common;
import lombok.experimental.UtilityClass;

View File

@ -1,4 +1,4 @@
package cc.fascinated.util;
package cc.fascinated.common;
import lombok.experimental.UtilityClass;
import org.springframework.http.ResponseEntity;

View File

@ -5,7 +5,7 @@ import cc.fascinated.model.player.Skin;
import cc.fascinated.model.response.impl.InvalidPartResponse;
import cc.fascinated.model.response.impl.PlayerNotFoundResponse;
import cc.fascinated.service.PlayerService;
import cc.fascinated.util.PlayerUtils;
import cc.fascinated.common.PlayerUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.CacheControl;
import org.springframework.http.MediaType;

View File

@ -1,6 +1,6 @@
package cc.fascinated.log;
import cc.fascinated.util.IPUtils;
import cc.fascinated.common.IPUtils;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import lombok.NonNull;

View File

@ -3,8 +3,8 @@ package cc.fascinated.model.mojang;
import cc.fascinated.Main;
import cc.fascinated.model.player.Cape;
import cc.fascinated.model.player.Skin;
import cc.fascinated.util.Tuple;
import cc.fascinated.util.UUIDUtils;
import cc.fascinated.common.Tuple;
import cc.fascinated.common.UUIDUtils;
import com.google.gson.JsonObject;
import lombok.AllArgsConstructor;
import lombok.Getter;

View File

@ -1,8 +1,8 @@
package cc.fascinated.model.player;
import cc.fascinated.model.mojang.MojangProfile;
import cc.fascinated.util.Tuple;
import cc.fascinated.util.UUIDUtils;
import cc.fascinated.common.Tuple;
import cc.fascinated.common.UUIDUtils;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;

View File

@ -1,7 +1,7 @@
package cc.fascinated.model.player;
import cc.fascinated.config.Config;
import cc.fascinated.util.PlayerUtils;
import cc.fascinated.common.PlayerUtils;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.gson.JsonObject;

View File

@ -2,7 +2,7 @@ package cc.fascinated.service;
import cc.fascinated.model.mojang.MojangProfile;
import cc.fascinated.model.mojang.MojangUsernameToUuid;
import cc.fascinated.util.WebRequest;
import cc.fascinated.common.WebRequest;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

View File

@ -3,7 +3,7 @@ package cc.fascinated.service;
import cc.fascinated.model.mojang.MojangProfile;
import cc.fascinated.model.mojang.MojangUsernameToUuid;
import cc.fascinated.model.player.Player;
import cc.fascinated.util.UUIDUtils;
import cc.fascinated.common.UUIDUtils;
import lombok.extern.log4j.Log4j2;
import net.jodah.expiringmap.ExpirationPolicy;
import net.jodah.expiringmap.ExpiringMap;