From 8f11f59c129ca1861a25821456a9385bfa9543ef Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Wed, 9 Sep 2015 12:16:20 +0200 Subject: [PATCH] MSON Constants move around --- src/com/massivecraft/massivecore/mson/Mson.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/com/massivecraft/massivecore/mson/Mson.java b/src/com/massivecraft/massivecore/mson/Mson.java index a8bfa20e..ed4d2bec 100644 --- a/src/com/massivecraft/massivecore/mson/Mson.java +++ b/src/com/massivecraft/massivecore/mson/Mson.java @@ -30,7 +30,7 @@ import com.massivecraft.massivecore.xlib.gson.JsonObject; public class Mson implements Serializable { // -------------------------------------------- // - // CONSTANTS + // CONSTANTS: TECHY // -------------------------------------------- // private static final long serialVersionUID = 1L; @@ -40,7 +40,12 @@ public class Mson implements Serializable public static final LowercaseEnumAdapter ADAPTER_LOWERCASE_CHAT_COLOR = LowercaseEnumAdapter.get(ChatColor.class); public static final LowercaseEnumAdapter 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 @@ -317,8 +322,6 @@ public class Mson implements Serializable // -------------------------------------------- // // Empty - private static final Mson EMPTY = mson(""); - public static Mson mson() { return EMPTY;