I hate the fact that we started using Checkstyle.
Whose decision was that anyway..?
This commit is contained in:
parent
5934c2fd3b
commit
6871341291
4 changed files with 21 additions and 10 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue