diff options
author | Iaccidentally <coryhuckaby@gmail.com> | 2013-11-06 21:22:32 -0500 |
---|---|---|
committer | Iaccidentally <coryhuckaby@gmail.com> | 2013-11-06 21:22:32 -0500 |
commit | 3e725ef0604f40c2963be5587fa297a50880e4e5 (patch) | |
tree | b460064e9d3c0c395a45172d39255a77da446ea8 /EssentialsChat/src/com | |
parent | d5196e31b211b6c6031b707c2ff490db5f38de27 (diff) | |
download | Essentials-3e725ef0604f40c2963be5587fa297a50880e4e5.tar Essentials-3e725ef0604f40c2963be5587fa297a50880e4e5.tar.gz Essentials-3e725ef0604f40c2963be5587fa297a50880e4e5.tar.lz Essentials-3e725ef0604f40c2963be5587fa297a50880e4e5.tar.xz Essentials-3e725ef0604f40c2963be5587fa297a50880e4e5.zip |
Cleanup various aspects of code, fix some formatting, more netbeans 7.4 stuff
Diffstat (limited to 'EssentialsChat/src/com')
3 files changed, 2 insertions, 3 deletions
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/ChatStore.java b/EssentialsChat/src/com/earth2me/essentials/chat/ChatStore.java index 4c5f8dd90..8e40a3dff 100644 --- a/EssentialsChat/src/com/earth2me/essentials/chat/ChatStore.java +++ b/EssentialsChat/src/com/earth2me/essentials/chat/ChatStore.java @@ -34,7 +34,7 @@ public class ChatStore return type; } - public String getLongType() + public final String getLongType() { return type.length() == 0 ? "chat" : "chat-" + type; } diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java index 8a8cf41ee..959277b9c 100644 --- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java +++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChat.java @@ -5,7 +5,6 @@ import net.ess3.api.IEssentials; import java.util.Collections; import java.util.HashMap; import java.util.Map; -import java.util.concurrent.ConcurrentSkipListMap; import java.util.logging.Level; import java.util.logging.Logger; import org.bukkit.event.player.AsyncPlayerChatEvent; diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java index 78b9d1a7f..9554c63f6 100644 --- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java +++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayer.java @@ -12,8 +12,8 @@ import org.bukkit.event.player.AsyncPlayerChatEvent; public abstract class EssentialsChatPlayer implements Listener { - protected transient IEssentials ess; protected final static Logger logger = Logger.getLogger("Minecraft"); + protected transient IEssentials ess; protected final transient Server server; protected final transient Map<AsyncPlayerChatEvent, ChatStore> chatStorage; |