From fd8c724f47cb8f45546f16121336d13c7c16018b Mon Sep 17 00:00:00 2001 From: Sollace Date: Sat, 21 Jul 2018 23:24:49 +0200 Subject: [PATCH] These don't have to be public --- .../com/voxelmodpack/hdskins/server/BethlehemSkinServer.java | 4 ++-- .../com/voxelmodpack/hdskins/server/LegacySkinServer.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/server/BethlehemSkinServer.java b/src/hdskins/java/com/voxelmodpack/hdskins/server/BethlehemSkinServer.java index 3ce4c963..b12d28e3 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/server/BethlehemSkinServer.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/server/BethlehemSkinServer.java @@ -32,7 +32,7 @@ public class BethlehemSkinServer extends AbstractSkinServer { } @Override - public MinecraftTexturesPayload getProfileData(GameProfile profile) { + protected MinecraftTexturesPayload getProfileData(GameProfile profile) { try (NetClient client = new NetClient("GET", getPath(profile))) { if (client.getResponseCode() == HttpStatus.SC_OK) { return gson.fromJson(client.getResponseText(), MinecraftTexturesPayload.class); @@ -44,7 +44,7 @@ public class BethlehemSkinServer extends AbstractSkinServer { } @Override - public SkinUploadResponse doUpload(Session session, URI image, Type type, Map metadata) throws AuthenticationException, IOException { + protected SkinUploadResponse doUpload(Session session, URI image, Type type, Map metadata) throws AuthenticationException, IOException { SkinServer.verifyServerConnection(session, SERVER_ID); try (NetClient client = new NetClient("POST", address)) { diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/server/LegacySkinServer.java b/src/hdskins/java/com/voxelmodpack/hdskins/server/LegacySkinServer.java index 24ca26ac..89890b24 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/server/LegacySkinServer.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/server/LegacySkinServer.java @@ -61,7 +61,7 @@ public class LegacySkinServer extends AbstractSkinServer { @SuppressWarnings("deprecation") @Override - public MinecraftTexturesPayload getProfileData(GameProfile profile) { + protected MinecraftTexturesPayload getProfileData(GameProfile profile) { ImmutableMap.Builder builder = ImmutableMap.builder(); for (Type type : Type.values()) { @@ -90,7 +90,7 @@ public class LegacySkinServer extends AbstractSkinServer { } @Override - public SkinUploadResponse doUpload(Session session, URI image, Type type, Map metadata) throws AuthenticationException, IOException { + protected SkinUploadResponse doUpload(Session session, URI image, Type type, Map metadata) throws AuthenticationException, IOException { SkinServer.verifyServerConnection(session, SERVER_ID); try (NetClient client = new NetClient("POST", address)) {