diff --git a/src/com/palmergames/bukkit/TownyChat/TownyChatFormatter.java b/src/com/palmergames/bukkit/TownyChat/TownyChatFormatter.java index 2d9430c..cae1013 100644 --- a/src/com/palmergames/bukkit/TownyChat/TownyChatFormatter.java +++ b/src/com/palmergames/bukkit/TownyChat/TownyChatFormatter.java @@ -193,7 +193,7 @@ public class TownyChatFormatter { * @param resident * @param override use full names if no tag is present * @param full Only use full names (no tags). - * @return + * @return string containing the correctly formatted nation/town data */ public static String formatTownyTag(Resident resident, Boolean override, Boolean full) { try { diff --git a/src/com/palmergames/bukkit/TownyChat/channels/Channel.java b/src/com/palmergames/bukkit/TownyChat/channels/Channel.java index 3282d62..ad717e6 100644 --- a/src/com/palmergames/bukkit/TownyChat/channels/Channel.java +++ b/src/com/palmergames/bukkit/TownyChat/channels/Channel.java @@ -96,7 +96,7 @@ public abstract class Channel { return craftIRCTag; } /** - * @param permission the permission to set + * @param craftIRCTag the CraftIRC channel Tag to set */ public void setCraftIRCTag(String craftIRCTag) { this.craftIRCTag = craftIRCTag; diff --git a/src/com/palmergames/bukkit/TownyChat/config/ChatSettings.java b/src/com/palmergames/bukkit/TownyChat/config/ChatSettings.java index fd4f590..7927d98 100644 --- a/src/com/palmergames/bukkit/TownyChat/config/ChatSettings.java +++ b/src/com/palmergames/bukkit/TownyChat/config/ChatSettings.java @@ -176,60 +176,56 @@ class tag_formats extends chat_colours{ private static String WorldTag, TownTag, NationTag, BothTags; /** - * @return the WORLD + * @return the World tag */ public static String getWorldTag() { return WorldTag; } /** - * @param WORLD - * the wORLD to set + * @param tag the World tag to set */ public static void setWorldTag(String tag) { tag_formats.WorldTag = tag; } /** - * @return the TOWN + * @return the TownTag */ public static String getTownTag() { return TownTag; } /** - * @param TOWN - * the TOWN to set + * @param tag the TOWN tag to set */ public static void setTownTag(String tag) { tag_formats.TownTag = tag; } /** - * @return the NATION + * @return NationTag */ public static String getNationTag() { return NationTag; } /** - * @param NATION - * the NATION to set + * @param tag the NATION tag to set */ public static void setNationTag(String tag) { tag_formats.NationTag = tag; } /** - * @return the BOTH + * @return BothTags the nation and town tags */ public static String getBothTags() { return BothTags; } /** - * @param BOTH - * the BOTH to set + * @param tag the Nation and Town tags to set */ public static void setBothTags(String tag) { tag_formats.BothTags = tag; @@ -242,48 +238,45 @@ class chat_colours { private static String KING, MAYOR, RESIDENT; /** - * @return the kING + * @return KING the KING colour */ public static String getKingColour() { return KING; } /** - * @param KING - * the KING to set + * @param colour the colour to set */ public static void setKingColour(String colour) { chat_colours.KING = colour; } /** - * @return the MAYOR + * @return MAYOR the MAYOR colour */ public static String getMayorColour() { return MAYOR; } /** - * @param MAYOR - * the MAYOR to set + * @param colour the colour to set */ public static void setMayorColour(String colour) { chat_colours.MAYOR = colour; } /** - * @return the RESIDENT + * @return RESIDENT the RESIDENT colour */ public static String getResidentColour() { return RESIDENT; } /** - * @param RESIDENT - * the RESIDENT to set + * @param tag the RESIDENT colour tag to set */ - public static void setResidentColour(String tag) { - chat_colours.RESIDENT = tag; + public static void setResidentColour(String colour) { + chat_colours.RESIDENT = colour; } } diff --git a/src/com/palmergames/bukkit/TownyChat/util/FileMgmt.java b/src/com/palmergames/bukkit/TownyChat/util/FileMgmt.java index 1122b12..fe27fc4 100644 --- a/src/com/palmergames/bukkit/TownyChat/util/FileMgmt.java +++ b/src/com/palmergames/bukkit/TownyChat/util/FileMgmt.java @@ -116,7 +116,7 @@ public class FileMgmt { * * @param source * @param FileName - * @return + * @return true on success */ public static boolean stringToFile(String source, String FileName) {