mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-25 05:48:00 +01:00
Build/silence warnings
This commit is contained in:
parent
ae005e3323
commit
e93c4784ee
5 changed files with 12 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -15,11 +15,12 @@ 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();
|
||||
|
||||
private long timestamp;
|
||||
private long timestamp;
|
||||
private UUID profileId;
|
||||
private String profileName;
|
||||
private boolean isPublic;
|
||||
|
|
|
@ -14,7 +14,8 @@ import javax.annotation.Nullable;
|
|||
|
||||
public class ValhallaSkinServer implements SkinServer {
|
||||
|
||||
private final String baseURL;
|
||||
@SuppressWarnings("unused")
|
||||
private final String baseURL;
|
||||
|
||||
public ValhallaSkinServer(String baseURL) {
|
||||
this.baseURL = baseURL;
|
||||
|
|
|
@ -52,8 +52,10 @@ public class MineLittlePony {
|
|||
public static final String MOD_NAME = "Mine Little Pony";
|
||||
public static final String MOD_VERSION = "@VERSION@";
|
||||
|
||||
private static final String SKIN_SERVER_URL = "minelpskins.voxelmodpack.com";
|
||||
private static final String GATEWAY_URL = "minelpskinmanager.voxelmodpack.com";
|
||||
@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");
|
||||
|
||||
private static MineLittlePony instance;
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
package com.minelittlepony;
|
||||
|
||||
public class MissingRendererException extends RuntimeException {
|
||||
private static final long serialVersionUID = -6059469512902628663L;
|
||||
|
||||
public MissingRendererException(Class<?> cl) {
|
||||
public MissingRendererException(Class<?> cl) {
|
||||
super("Could not find a renderer for " + cl.getName() + ". This is a bug.");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue