Javadoc fixes

This commit is contained in:
tastybento 2019-12-01 09:03:22 -08:00
parent 294ed23225
commit 22cd2379d3
7 changed files with 19 additions and 19 deletions

View File

@ -25,9 +25,9 @@ public class Invite {
private final UUID invitee;
/**
* @param type
* @param inviter
* @param invitee
* @param type - invitation type, e.g., coop, team, trust
* @param inviter - UUID of inviter
* @param invitee - UUID of invitee
*/
public Invite(Type type, UUID inviter, UUID invitee) {
this.type = type;

View File

@ -395,21 +395,21 @@ public interface WorldSettings extends ConfigObject {
/**
*
* @return
* @return true if island should be created on first login
* @since 1.9.0
*/
boolean isCreateIslandOnFirstLoginEnabled();
/**
*
* @return
* @return the island creation delay after login
* @since 1.9.0
*/
int getCreateIslandOnFirstLoginDelay();
/**
*
* @return
* @return if island creation should abort on logout
* @since 1.9.0
*/
boolean isCreateIslandOnFirstLoginAbortOnLogout();

View File

@ -586,8 +586,8 @@ public class Flag implements Comparable<Flag> {
/**
* Set the flag difficulty mode.
* Defaults to {@link Flag.Mode#EXPERT}.
* @param mode
* @return Builder
* @param mode - difficulty mode
* @return Builder - flag builder
* @since 1.6.0
*/
public Builder mode(Mode mode) {

View File

@ -801,8 +801,8 @@ public class IslandWorldManager {
/**
*
* @param world
* @return
* @param world - world
* @return true if successful
* @since 1.9.0
*/
public boolean isCreateIslandOnFirstLoginEnabled(@NonNull World world) {
@ -811,8 +811,8 @@ public class IslandWorldManager {
/**
*
* @param world
* @return
* @param world - world
* @return delay value
* @since 1.9.0
*/
public int getCreateIslandOnFirstLoginDelay(@NonNull World world) {
@ -821,8 +821,8 @@ public class IslandWorldManager {
/**
*
* @param world
* @return
* @param world - world
* @return true if creation should happen
* @since 1.9.0
*/
public boolean isCreateIslandOnFirstLoginAbortOnLogout(@NonNull World world) {

View File

@ -324,7 +324,7 @@ public class LocalesManager {
/**
*
* @param user
* @param user - user
* @param fix whether or not locale files with missing translations should be fixed.
* Not currently supported.
* @since 1.5.0

View File

@ -175,9 +175,9 @@ public class WebManager {
/**
*
* @param repo
* @param fileName
* @return
* @param repo - Github repository
* @param fileName - file name
* @return content or nothing
* @since 1.8.0
*/
@NonNull

View File

@ -10,5 +10,5 @@ import org.bukkit.World;
*
*/
public interface NewIslandLocationStrategy {
public Location getNextLocation(World world);
Location getNextLocation(World world);
}