From 063e23358bf5ad8257bf9f216eb1715650314666 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Sat, 27 Apr 2019 02:55:00 -0700 Subject: [PATCH] Added default constructor and javadoc. --- .../net/thauvin/erik/mobibot/msg/Message.java | 74 +++++++++---------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/src/main/java/net/thauvin/erik/mobibot/msg/Message.java b/src/main/java/net/thauvin/erik/mobibot/msg/Message.java index 6a9bf20..8acf324 100644 --- a/src/main/java/net/thauvin/erik/mobibot/msg/Message.java +++ b/src/main/java/net/thauvin/erik/mobibot/msg/Message.java @@ -52,7 +52,7 @@ public class Message { * Creates a new message. */ public Message() { - + // This constructor is intentionally empty. } /** @@ -101,15 +101,6 @@ public class Message { return color; } - /** - * Set the color. - * - * @param color The new color. - */ - public void setColor(final String color) { - this.color = color; - } - /** * Returns the message. * @@ -119,15 +110,6 @@ public class Message { return msg; } - /** - * Sets the message. - * - * @param message The new message. - */ - public void setMessage(final String message) { - msg = message; - } - /** * Returns the message error flag. * @@ -137,15 +119,6 @@ public class Message { return isError; } - /** - * Sets the message error flag. - * - * @param error The error flag. - */ - public void setError(final boolean error) { - isError = error; - } - /** * Returns the message notice flag. * @@ -155,15 +128,6 @@ public class Message { return isNotice; } - /** - * Sets the message notice flag. - * - * @param isNotice The notice flag. - */ - public void setNotice(final boolean isNotice) { - this.isNotice = isNotice; - } - /** * Returns the message private flag. * @@ -173,6 +137,42 @@ public class Message { return isPrivate; } + /** + * Set the color. + * + * @param color The new color. + */ + public void setColor(final String color) { + this.color = color; + } + + /** + * Sets the message error flag. + * + * @param error The error flag. + */ + public void setError(final boolean error) { + isError = error; + } + + /** + * Sets the message. + * + * @param message The new message. + */ + public void setMessage(final String message) { + msg = message; + } + + /** + * Sets the message notice flag. + * + * @param isNotice The notice flag. + */ + public void setNotice(final boolean isNotice) { + this.isNotice = isNotice; + } + /** * Sets the message private flag. *