From fa0a46003d5f87282df8e5573c1d24c4fae9c46a Mon Sep 17 00:00:00 2001 From: Sollace Date: Sat, 14 Jul 2018 22:08:33 +0200 Subject: [PATCH] Squish warnings --- .../com/voxelmodpack/hdskins/skins/IndentedToStringStyle.java | 2 ++ .../java/com/voxelmodpack/hdskins/skins/LegacySkinServer.java | 1 + 2 files changed, 3 insertions(+) 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)) {