Fix minor checkstyle issues
- Add JavaDoc where checkstyle expects it - Fix line too long issues - ...
This commit is contained in:
@@ -32,6 +32,12 @@ public class AsyncAddEmail implements AsynchronousProcess {
|
||||
|
||||
AsyncAddEmail() { }
|
||||
|
||||
/**
|
||||
* Handles the request to add the given email to the player's account.
|
||||
*
|
||||
* @param player the player to add the email to
|
||||
* @param email the email to add
|
||||
*/
|
||||
public void addEmail(Player player, String email) {
|
||||
String playerName = player.getName().toLowerCase();
|
||||
|
||||
|
||||
@@ -30,6 +30,13 @@ public class AsyncChangeEmail implements AsynchronousProcess {
|
||||
|
||||
AsyncChangeEmail() { }
|
||||
|
||||
/**
|
||||
* Handles the request to change the player's email address.
|
||||
*
|
||||
* @param player the player to change the email for
|
||||
* @param oldEmail provided old email
|
||||
* @param newEmail provided new email
|
||||
*/
|
||||
public void changeEmail(Player player, String oldEmail, String newEmail) {
|
||||
String playerName = player.getName().toLowerCase();
|
||||
if (playerCache.isAuthenticated(playerName)) {
|
||||
|
||||
Reference in New Issue
Block a user