[AB-xx] fixing build

This commit is contained in:
Sheldan
2021-03-08 01:32:48 +01:00
parent 66061b7719
commit d0c06538e3
4 changed files with 5 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ import java.util.concurrent.CompletableFuture;
public interface Command extends FeatureAware {
default CommandResult execute(CommandContext commandContext) {return CommandResult.fromSuccess();};
default CompletableFuture<CommandResult> executeAsync(CommandContext commandContext) {return CompletableFuture.completedFuture(CommandResult.fromSuccess());};
default CommandResult execute(CommandContext commandContext) {return CommandResult.fromSuccess();}
default CompletableFuture<CommandResult> executeAsync(CommandContext commandContext) {return CompletableFuture.completedFuture(CommandResult.fromSuccess());}
CommandConfiguration getConfiguration();
}

View File

@@ -8,7 +8,7 @@ import java.util.List;
public class CommandParameterKeyValueWrongTypeException extends AbstractoRunTimeException implements Templatable {
private CommandParameterKeyValueWrongTypeExceptionModel model;
private final CommandParameterKeyValueWrongTypeExceptionModel model;
public CommandParameterKeyValueWrongTypeException(List<String> expectedValues) {
super("Command parameter value did not have expected values present");

View File

@@ -19,6 +19,6 @@ public interface FeatureConfig extends Serializable {
default List<String> getRequiredSystemConfigKeys() { return Collections.emptyList();}
default List<FeatureValidator> getAdditionalFeatureValidators() { return Collections.emptyList(); }
default List<String> getRequiredEmotes() { return Collections.emptyList(); }
default List<FeatureMode> getAvailableModes() { return Collections.emptyList(); };
default List<FeatureMode> getAvailableModes() { return Collections.emptyList(); }
default List<SetupStep> getCustomSetupSteps() { return Collections.emptyList(); }
}

View File

@@ -5,7 +5,7 @@ import dev.sheldan.abstracto.core.templating.Templatable;
public class UploadFileTooLargeException extends AbstractoRunTimeException implements Templatable {
private UploadFileTooLargeExceptionModel model;
private final UploadFileTooLargeExceptionModel model;
public UploadFileTooLargeException(Long fileSize, Long fileSizeLimit) {
super("File too large for uploading it into the server.");