diff options
author | Iaccidentally <coryhuckaby@gmail.com> | 2013-01-14 20:06:28 -0500 |
---|---|---|
committer | Iaccidentally <coryhuckaby@gmail.com> | 2013-01-14 20:06:28 -0500 |
commit | 2a097530e5ea96e1329dca19b049a23ccce5d3ba (patch) | |
tree | da72b93c02edb4182f649114fee5fad7d833601f /EssentialsChat | |
parent | 8e54bf13b281d1299c3dc33f89940bd3a06d1a30 (diff) | |
download | Essentials-2a097530e5ea96e1329dca19b049a23ccce5d3ba.tar Essentials-2a097530e5ea96e1329dca19b049a23ccce5d3ba.tar.gz Essentials-2a097530e5ea96e1329dca19b049a23ccce5d3ba.tar.lz Essentials-2a097530e5ea96e1329dca19b049a23ccce5d3ba.tar.xz Essentials-2a097530e5ea96e1329dca19b049a23ccce5d3ba.zip |
Revert "Remove Transient :: Formatting Cleanup"
Diffstat (limited to 'EssentialsChat')
4 files changed, 26 insertions, 27 deletions
diff --git a/EssentialsChat/pom.xml b/EssentialsChat/pom.xml index 6be18a14c..e59886710 100644 --- a/EssentialsChat/pom.xml +++ b/EssentialsChat/pom.xml @@ -1,20 +1,20 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> + <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>net.essentials3</groupId> - <artifactId>BuildAll</artifactId> - <version>3.0-SNAPSHOT</version> - <relativePath>../pom.xml</relativePath> - </parent> + <parent> + <groupId>net.essentials3</groupId> + <artifactId>BuildAll</artifactId> + <version>3.0-SNAPSHOT</version> + <relativePath>../pom.xml</relativePath> + </parent> - <artifactId>EssentialsChat</artifactId> - <dependencies> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>Essentials</artifactId> - <version>${project.version}</version> - </dependency> - </dependencies> + <artifactId>EssentialsChat</artifactId> + <dependencies> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>Essentials</artifactId> + <version>${project.version}</version> + </dependency> + </dependencies> </project> diff --git a/EssentialsChat/src/net/ess3/chat/ChatStore.java b/EssentialsChat/src/net/ess3/chat/ChatStore.java index d099a3e04..4d696fb36 100644 --- a/EssentialsChat/src/net/ess3/chat/ChatStore.java +++ b/EssentialsChat/src/net/ess3/chat/ChatStore.java @@ -7,9 +7,9 @@ import net.ess3.economy.Trade; public class ChatStore { - private final IUser user; - private final String type; - private final Trade charge; + private final transient IUser user; + private final transient String type; + private final transient Trade charge; public ChatStore(final IEssentials ess, final IUser user, final String type) { diff --git a/EssentialsChat/src/net/ess3/chat/EssentialsChatPlayer.java b/EssentialsChat/src/net/ess3/chat/EssentialsChatPlayer.java index 15e2d3b8b..e358cf9e1 100644 --- a/EssentialsChat/src/net/ess3/chat/EssentialsChatPlayer.java +++ b/EssentialsChat/src/net/ess3/chat/EssentialsChatPlayer.java @@ -17,10 +17,10 @@ import org.bukkit.event.player.AsyncPlayerChatEvent; public abstract class EssentialsChatPlayer implements Listener { - protected IEssentials ess; + protected transient IEssentials ess; protected final static Logger LOGGER = Logger.getLogger("Minecraft"); - protected final Server server; - protected final Map<AsyncPlayerChatEvent, ChatStore> chatStorage; + protected final transient Server server; + protected final transient Map<AsyncPlayerChatEvent, ChatStore> chatStorage; public EssentialsChatPlayer( final Server server, final IEssentials ess, final Map<AsyncPlayerChatEvent, ChatStore> chatStorage) @@ -83,10 +83,9 @@ public abstract class EssentialsChatPlayer implements Listener { event.setFormat( format.format( - new Object[] - { - group, world, world.substring(0, 1).toUpperCase(Locale.ENGLISH) - })); + new Object[]{ + group, world, world.substring(0, 1).toUpperCase(Locale.ENGLISH) + })); } } diff --git a/EssentialsChat/src/net/ess3/chat/EssentialsLocalChatEventListener.java b/EssentialsChat/src/net/ess3/chat/EssentialsLocalChatEventListener.java index 568657907..b6b93c0bf 100644 --- a/EssentialsChat/src/net/ess3/chat/EssentialsLocalChatEventListener.java +++ b/EssentialsChat/src/net/ess3/chat/EssentialsLocalChatEventListener.java @@ -14,8 +14,8 @@ import org.bukkit.event.Listener; public class EssentialsLocalChatEventListener implements Listener { - protected IEssentials ess; - protected final Server server; + protected transient IEssentials ess; + protected final transient Server server; public EssentialsLocalChatEventListener(final Server server, final IEssentials ess) { |