diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/skins/IndentedToStringStyle.java b/src/hdskins/java/com/voxelmodpack/hdskins/skins/IndentedToStringStyle.java index 150f8d40..44255b78 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/skins/IndentedToStringStyle.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/skins/IndentedToStringStyle.java @@ -5,6 +5,8 @@ import org.apache.commons.lang3.builder.ToStringStyle; public class IndentedToStringStyle extends ToStringStyle { + private static final long serialVersionUID = 2031593562293731492L; + public static final ToStringStyle INSTANCE = new IndentedToStringStyle(); private IndentedToStringStyle() { diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/skins/LegacySkinServer.java b/src/hdskins/java/com/voxelmodpack/hdskins/skins/LegacySkinServer.java index c4644982..887aa096 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/skins/LegacySkinServer.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/skins/LegacySkinServer.java @@ -92,6 +92,7 @@ public class LegacySkinServer implements SkinServer { .build()); } + @SuppressWarnings("deprecation") @Override public CompletableFuture uploadSkin(Session session, @Nullable URI image, MinecraftProfileTexture.Type type, Map metadata) { if (Strings.isNullOrEmpty(this.gateway)) {