Build/silence warnings

This commit is contained in:
Sollace 2018-04-10 13:56:48 +02:00
parent ae005e3323
commit e93c4784ee
5 changed files with 12 additions and 7 deletions

View file

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Tue Jan 02 00:10:52 EST 2018
build.number=495
#Tue Apr 10 14:03:42 CAT 2018
build.number=497

View file

@ -15,6 +15,7 @@ import java.util.UUID;
* required because it has no useful constructor. This uses reflection
* via Gson to create a new instance and populate the fields.
*/
@SuppressWarnings("unused")
public class TexturesPayloadBuilder {
private static Gson gson = new GsonBuilder().registerTypeAdapter(UUID.class, new UUIDTypeAdapter()).create();

View file

@ -14,6 +14,7 @@ import javax.annotation.Nullable;
public class ValhallaSkinServer implements SkinServer {
@SuppressWarnings("unused")
private final String baseURL;
public ValhallaSkinServer(String baseURL) {

View file

@ -52,7 +52,9 @@ public class MineLittlePony {
public static final String MOD_NAME = "Mine Little Pony";
public static final String MOD_VERSION = "@VERSION@";
@SuppressWarnings("unused")
private static final String SKIN_SERVER_URL = "minelpskins.voxelmodpack.com";
@SuppressWarnings("unused")
private static final String GATEWAY_URL = "minelpskinmanager.voxelmodpack.com";
private static final KeyBinding SETTINGS_GUI = new KeyBinding("Settings", Keyboard.KEY_F9, "Mine Little Pony");

View file

@ -1,6 +1,7 @@
package com.minelittlepony;
public class MissingRendererException extends RuntimeException {
private static final long serialVersionUID = -6059469512902628663L;
public MissingRendererException(Class<?> cl) {
super("Could not find a renderer for " + cl.getName() + ". This is a bug.");