Improved JavaDocs code style, some minor improvements

This commit is contained in:
Tim Visée 2015-11-23 21:45:23 +01:00
parent f15eaae67f
commit b2db25d16c
2 changed files with 6 additions and 4 deletions

View File

@ -4,6 +4,8 @@
<option name="PER_PROJECT_SETTINGS"> <option name="PER_PROJECT_SETTINGS">
<value> <value>
<option name="LINE_SEPARATOR" value="&#10;" /> <option name="LINE_SEPARATOR" value="&#10;" />
<option name="JD_ADD_BLANK_AFTER_PARM_COMMENTS" value="true" />
<option name="JD_ADD_BLANK_AFTER_RETURN" value="true" />
<XML> <XML>
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" /> <option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
</XML> </XML>

View File

@ -788,12 +788,12 @@ public class AuthMe extends JavaPlugin {
return spawnLoc; return spawnLoc;
} }
// Return the default spawnpoint of a world // Return the default spawn point of a world
private Location getDefaultSpawn(World world) { private Location getDefaultSpawn(World world) {
return world.getSpawnLocation(); return world.getSpawnLocation();
} }
// Return the multiverse spawnpoint of a world // Return the multiverse spawn point of a world
private Location getMultiverseSpawn(World world) { private Location getMultiverseSpawn(World world) {
if (multiverse != null && Settings.multiverse) { if (multiverse != null && Settings.multiverse) {
try { try {
@ -805,7 +805,7 @@ public class AuthMe extends JavaPlugin {
return null; return null;
} }
// Return the essentials spawnpoint // Return the essentials spawn point
private Location getEssentialsSpawn() { private Location getEssentialsSpawn() {
if (essentialsSpawn != null) { if (essentialsSpawn != null) {
return essentialsSpawn; return essentialsSpawn;
@ -813,7 +813,7 @@ public class AuthMe extends JavaPlugin {
return null; return null;
} }
// Return the authme soawnpoint // Return the AuthMe spawn point
private Location getAuthMeSpawn(Player player) { private Location getAuthMeSpawn(Player player) {
if ((!database.isAuthAvailable(player.getName().toLowerCase()) || !player.hasPlayedBefore()) && (Spawn.getInstance().getFirstSpawn() != null)) { if ((!database.isAuthAvailable(player.getName().toLowerCase()) || !player.hasPlayedBefore()) && (Spawn.getInstance().getFirstSpawn() != null)) {
return Spawn.getInstance().getFirstSpawn(); return Spawn.getInstance().getFirstSpawn();