I hate the fact that we started using Checkstyle.

Whose decision was that anyway..?
This commit is contained in:
Alexander Söderberg 2021-07-10 11:38:42 +01:00 committed by Jason
parent 5934c2fd3b
commit 6871341291
4 changed files with 21 additions and 10 deletions

View file

@ -57,7 +57,7 @@ public interface CommandExecutionHandler<C> {
default CompletableFuture<@Nullable Object> executeFuture(@NonNull CommandContext<C> commandContext) {
final CompletableFuture<Object> future = new CompletableFuture<>();
try {
execute(commandContext);
this.execute(commandContext);
/* The command executed successfully */
future.complete(null);
} catch (final Throwable throwable) {

View file

@ -24,7 +24,6 @@
package cloud.commandframework.extra.confirmation;
import cloud.commandframework.CommandManager;
import cloud.commandframework.context.CommandContext;
import cloud.commandframework.execution.CommandExecutionHandler;
import cloud.commandframework.execution.postprocessor.CommandPostprocessingContext;
import cloud.commandframework.execution.postprocessor.CommandPostprocessor;