Merge pull request #340 from coaster3000/master

Fixed Compiler Warnings
This commit is contained in:
Nick Minkler 2013-01-06 22:22:28 -08:00
commit d0200930dd
2 changed files with 10 additions and 12 deletions

View File

@ -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 <b>unmodifiable</b> set of the plotter objects in the graph
* @return
* @return returns a Set of Plotter's
*/
public Set<Plotter> 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();

View File

@ -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