Fix a handful of Javadoc issues - need to check through the rest later to ensure that we actually have updated JDs for everything

This commit is contained in:
GJ
2013-01-30 19:42:40 -05:00
parent a1d710fe3d
commit cd35df17ec
20 changed files with 33 additions and 43 deletions

View File

@ -166,11 +166,11 @@ public final class Leaderboard {
/**
* Retrieve leaderboard info.
*
* @param skillName Skill to retrieve info on.
* @param pagenumber Which page in the leaderboards to retrieve
* @param skillType Skill to retrieve info on.
* @param pageNumber Which page in the leaderboards to retrieve
* @return the requested leaderboard information
*/
public static String[] retrieveInfo(SkillType skillType, int pagenumber) {
public static String[] retrieveInfo(SkillType skillType, int pageNumber) {
String[] info = new String[10];
List<PlayerStat> statsList = playerStatHash.get(skillType);
@ -179,11 +179,11 @@ public final class Leaderboard {
int destination;
//How many lines to skip through
if (pagenumber == 1) {
if (pageNumber == 1) {
destination = 0;
}
else {
destination = (pagenumber * 10) - 9;
destination = (pageNumber * 10) - 9;
}
int currentPos = 0;

View File

@ -62,9 +62,9 @@ public final class Misc {
}
/**
* Check if a player has armor.
* Check if a LivingEntity has armor.
*
* @param player Player whose armor to check
* @param entity LivingEntity whose armor to check
* @return true if the player has armor, false otherwise
*/
public static boolean hasArmor(LivingEntity entity) {

View File

@ -94,7 +94,7 @@ public final class Users {
/**
* Get the profile of a player by name.
*
* @param player The name of the player whose profile to retrieve
* @param playerName The name of the player whose profile to retrieve
* @return the player's profile
*/
public static PlayerProfile getProfile(String playerName) {
@ -106,7 +106,7 @@ public final class Users {
/**
* Get the McMMOPlayer of a player by name.
*
* @param player The name of the player whose McMMOPlayer to retrieve
* @param playerName The name of the player whose McMMOPlayer to retrieve
* @return the player's McMMOPlayer object
*/
public static McMMOPlayer getPlayer(String playerName) {