Add explict this checkstyle rule and fix violations

This commit is contained in:
broccolai 2021-01-28 09:30:10 +00:00 committed by Jason
parent a6eb44376c
commit d5259dfbe4
62 changed files with 195 additions and 192 deletions

View file

@ -132,7 +132,7 @@ final class CloudburstCommand<C> extends PluginCommand<Plugin> {
CommandExecutionException.class,
(CommandExecutionException) throwable, (c, e) -> {
commandSender.sendMessage(MESSAGE_INTERNAL_ERROR);
manager.getOwningPlugin().getLogger().error(
this.manager.getOwningPlugin().getLogger().error(
"Exception executing command handler",
finalThrowable.getCause()
);
@ -140,7 +140,7 @@ final class CloudburstCommand<C> extends PluginCommand<Plugin> {
);
} else {
commandSender.sendMessage(MESSAGE_INTERNAL_ERROR);
manager.getOwningPlugin().getLogger().error(
this.manager.getOwningPlugin().getLogger().error(
"An unhandled exception was thrown during command execution",
throwable
);