Checkstyle: Add 'WhitespaceAfter' check, fix some violations

This commit is contained in:
ljacqu
2018-09-01 08:38:14 +02:00
parent e2e2c6bb79
commit 58e04556ee
11 changed files with 24 additions and 22 deletions
@@ -27,7 +27,7 @@ public class ShowEmailCommand extends PlayerCommand {
public void runCommand(Player player, List<String> arguments) {
PlayerAuth auth = playerCache.getAuth(player.getName());
if (auth != null && !Utils.isEmailEmpty(auth.getEmail())) {
if(commonService.getProperty(SecuritySettings.USE_EMAIL_MASKING)){
if (commonService.getProperty(SecuritySettings.USE_EMAIL_MASKING)){
commonService.send(player, MessageKey.EMAIL_SHOW, emailMask(auth.getEmail()));
} else {
commonService.send(player, MessageKey.EMAIL_SHOW, auth.getEmail());