MSON Constants move around

This commit is contained in:
Olof Larsson 2015-09-09 12:16:20 +02:00
parent 43b0e32e5e
commit 8f11f59c12

View File

@ -30,7 +30,7 @@ import com.massivecraft.massivecore.xlib.gson.JsonObject;
public class Mson implements Serializable public class Mson implements Serializable
{ {
// -------------------------------------------- // // -------------------------------------------- //
// CONSTANTS // CONSTANTS: TECHY
// -------------------------------------------- // // -------------------------------------------- //
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ -40,7 +40,12 @@ public class Mson implements Serializable
public static final LowercaseEnumAdapter<ChatColor> ADAPTER_LOWERCASE_CHAT_COLOR = LowercaseEnumAdapter.get(ChatColor.class); public static final LowercaseEnumAdapter<ChatColor> ADAPTER_LOWERCASE_CHAT_COLOR = LowercaseEnumAdapter.get(ChatColor.class);
public static final LowercaseEnumAdapter<MsonEventAction> ADAPTER_LOWERCASE_MSON_EVENT_ACTION = LowercaseEnumAdapter.get(MsonEventAction.class); public static final LowercaseEnumAdapter<MsonEventAction> ADAPTER_LOWERCASE_MSON_EVENT_ACTION = LowercaseEnumAdapter.get(MsonEventAction.class);
public static final transient Mson SPACE = mson(" "); // -------------------------------------------- //
// CONSTANTS: REUSABLE MSONS
// -------------------------------------------- //
public static final Mson SPACE = mson(" ");
public static final Mson EMPTY = mson("");
// -------------------------------------------- // // -------------------------------------------- //
// GSON // GSON
@ -317,8 +322,6 @@ public class Mson implements Serializable
// -------------------------------------------- // // -------------------------------------------- //
// Empty // Empty
private static final Mson EMPTY = mson("");
public static Mson mson() public static Mson mson()
{ {
return EMPTY; return EMPTY;