Add class headers and remove @author tags

This makes the PR compliant with with the Mineplex coding style.
Class headers are used to describe the function of a class and git
history will be used to determine the author of a class.
This commit is contained in:
Keir Nellyer 2016-04-24 17:10:29 +01:00
parent 8b6b3db412
commit 57e9cd6e19
21 changed files with 10 additions and 22 deletions

View File

@ -1,10 +1,10 @@
package mineplex.core.chatsnap;
/**
* @author iKeirNez
* Holds all types of messages a player can receive from another player
*/
public enum MessageType
{
CHAT,
PM;
PM
}

View File

@ -15,7 +15,6 @@ import static com.google.common.base.Preconditions.checkNotNull;
/**
* Represents a message sent by a player.
* @author iKeirNez
*/
public class Snapshot implements Comparable<Snapshot>
{

View File

@ -12,7 +12,6 @@ import mineplex.core.chatsnap.publishing.SnapshotPublisher;
/**
* Handles temporary storage of {@link Snapshot} instances.
* @author iKeirNez
*/
public class SnapshotManager
{

View File

@ -15,7 +15,7 @@ import mineplex.core.chatsnap.commands.ChatCacheCommand;
import mineplex.core.message.PrivateMessageEvent;
/**
* @author iKeirNez
* Starter class for all snapshot related functions (ie capturing messages, retrieving snapshots).
*/
public class SnapshotPlugin extends MiniPlugin
{

View File

@ -15,7 +15,6 @@ import mineplex.core.common.util.UtilPlayer;
/**
* Displays what chat messages we have cached for a player.
* @author iKeirNez
*/
public class ChatCacheCommand extends CommandBase<SnapshotPlugin>
{

View File

@ -12,7 +12,7 @@ import com.google.gson.JsonSerializationContext;
import com.google.gson.JsonSerializer;
/**
* @author iKeirNez
* Handles serialization of Java 8's {@link LocalDateTime}.
*/
public class LocalDateTimeSerializer implements JsonSerializer<LocalDateTime>
{

View File

@ -9,7 +9,7 @@ import com.google.gson.JsonSerializer;
import mineplex.core.report.Report;
/**
* @author iKeirNez
* Handles serialization of {@link Report} instances.
*/
public class ReportSerializer implements JsonSerializer<Report>
{

View File

@ -24,7 +24,7 @@ import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;
/**
* @author iKeirNez
* Class responsible for publishing snapshots on the website via Redis and a separate Report server.
*/
public class SnapshotPublisher
{

View File

@ -9,7 +9,6 @@ import mineplex.core.common.util.C;
/**
* Contains the reasons a player can be reported for.
* @author iKeirNez
*/
public enum ReportCategory
{

View File

@ -5,7 +5,6 @@ import mineplex.core.report.Report;
/**
* A message regarding a report which is sent only to the player handling the report.
* @author iKeirNez
*/
public class ReportHandlerNotification extends ReportNotification
{

View File

@ -14,7 +14,6 @@ import mineplex.serverdata.commands.ServerCommand;
/**
* Handles receiving of report notifications.
* @author iKeirNez
*/
public class ReportNotificationCallback implements CommandCallback
{

View File

@ -17,7 +17,6 @@ import org.apache.commons.lang3.StringUtils;
/**
* Displays a message containing up-to-date details of a report to it's handler.
* @author iKeirNez
*/
public class ReportHandlerMessageTask extends BukkitRunnable
{

View File

@ -8,7 +8,6 @@ import mineplex.core.report.ReportManager;
/**
* Checks reports "owned" by this instance for inactivity, purges inactive reports.
* @author iKeirNez
*/
public class ReportPurgeTask extends BukkitRunnable
{

View File

@ -8,7 +8,6 @@ import mineplex.core.report.ReportCategory;
/**
* Represents a clickable button in a {@link ReportCategoryPage} which determines the type of infraction a player has committed.
* @author iKeirNez
*/
public class ReportCategoryButton extends SimpleGuiItem
{

View File

@ -15,7 +15,6 @@ import mineplex.core.report.ReportPlugin;
/**
* User interface shown to a player when reporting another player.
* @author iKeirNez
*/
public class ReportCategoryPage extends SimpleGui
{

View File

@ -11,7 +11,6 @@ import mineplex.core.report.ReportResult;
/**
* Represents a button which can be clicked to determine the result of a report.
* @author iKeirNez
*/
public class ReportResultButton extends SimpleGuiItem
{

View File

@ -15,7 +15,6 @@ import mineplex.core.report.ReportResult;
/**
* User interface shown to a moderator when closing a report to determine the result of the report.
* @author iKeirNez
*/
public class ReportResultPage extends SimpleGui
{

View File

@ -8,7 +8,7 @@ import java.util.logging.Logger;
import org.apache.commons.lang3.Validate;
/**
* @author iKeirNez
* Class responsible for deleting old files (file age is determined by the "last modified" value).
*/
public class FilePurger implements Runnable
{

View File

@ -20,7 +20,7 @@ import org.apache.commons.lang3.Validate;
import redis.clients.jedis.JedisPubSub;
/**
* @author iKeirNez
* Listens for commands from Redis (such as "deploy" or "destroy") and executes them.
*/
public class RedisCommandHandler extends JedisPubSub
{

View File

@ -9,7 +9,7 @@ import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;
/**
* @author iKeirNez
* Establishes and maintains a connection to Redis.
*/
public class RedisConnectionHandler implements Runnable
{

View File

@ -21,7 +21,7 @@ import org.apache.commons.lang3.Validate;
import redis.clients.jedis.JedisPool;
/**
* @author iKeirNez
* Main class for the Report server, parses command line arguments and initializes the Report server.
*/
public class ReportServer
{