From 2e3fdfe0e3da524c1d7f9fbf6ca7c383eb55982a Mon Sep 17 00:00:00 2001 From: coaster3000 Date: Sun, 6 Jan 2013 17:03:23 -0500 Subject: [PATCH] Fixed annoying compiler warnings from javadocs (For IDE's that warn about javadoc errors and missing content) Signed-off-by: coaster3000 --- src/net/milkbowl/vault/Metrics.java | 6 +++--- .../milkbowl/vault/permission/Permission.java | 16 +++++++--------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/src/net/milkbowl/vault/Metrics.java b/src/net/milkbowl/vault/Metrics.java index c9564fc..7ec5068 100644 --- a/src/net/milkbowl/vault/Metrics.java +++ b/src/net/milkbowl/vault/Metrics.java @@ -485,7 +485,7 @@ public class Metrics { /** * Gets the graph's name * - * @return + * @return name of graph */ public String getName() { return name; @@ -511,7 +511,7 @@ public class Metrics { /** * Gets an unmodifiable set of the plotter objects in the graph - * @return + * @return returns a Set of Plotter's */ public Set getPlotters() { return Collections.unmodifiableSet(plotters); @@ -570,7 +570,7 @@ public class Metrics { /** * Get the current value for the plotted point * - * @return + * @return returns value */ public abstract int getValue(); diff --git a/src/net/milkbowl/vault/permission/Permission.java b/src/net/milkbowl/vault/permission/Permission.java index f62b141..c8658bd 100644 --- a/src/net/milkbowl/vault/permission/Permission.java +++ b/src/net/milkbowl/vault/permission/Permission.java @@ -195,7 +195,6 @@ public abstract class Permission { * one that only needs the built-in Bukkit API to add transient permissions to a player. Any subclass * implementing a plugin which provides its own API for this needs to override this method. * - * @param world World name * @param player Player name * @param permission Permission node * @return Success or Failure @@ -232,10 +231,10 @@ public abstract class Permission { /** * Adds a world specific transient permission to the player - ONLY WORKS IN PEX/P3 - otherwise it defaults to GLOBAL! - * @param world + * @param worldName * @param player * @param permission - * @return + * @return Success or Failure */ public boolean playerAddTransient(String worldName, Player player, String permission) { return playerAddTransient(player, permission); @@ -243,10 +242,10 @@ public abstract class Permission { /** * Adds a world specific transient permission to the player - ONLY WORKS IN PEX/P3 - otherwise it defaults to GLOBAL! - * @param world + * @param worldName * @param player * @param permission - * @return + * @return Success or Failure */ public boolean playerAddTransient(String worldName, String player, String permission) { Player p = plugin.getServer().getPlayer(player); @@ -258,10 +257,10 @@ public abstract class Permission { /** * Removes a world specific transient permission from the player - Only works in PEX/P3 - otherwise it defaults to Global! - * @param world + * @param worldName * @param player * @param permission - * @return + * @return Success or Failure */ public boolean playerRemoveTransient(String worldName, String player, String permission) { Player p = plugin.getServer().getPlayer(player); @@ -276,7 +275,7 @@ public abstract class Permission { * @param worldName * @param player * @param permission - * @return + * @return Success or Failure */ public boolean playerRemoveTransient(String worldName, Player player, String permission) { return playerRemoveTransient(player, permission); @@ -326,7 +325,6 @@ public abstract class Permission { * one that only needs the built-in Bukkit API to remove transient permissions from a player. Any subclass * implementing a plugin which provides its own API for this needs to override this method. * - * @param world World name * @param player Player name * @param permission Permission node * @return Success or Failure