Skip to content

Commit 7a0019c

Browse files
committed
fix: AggregateCommandParser -> AggregateParser
1 parent a6aa683 commit 7a0019c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

example/src/main/java/org/incendo/cloud/spring/example/commands/AddCatCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import cloud.commandframework.Command;
2727
import cloud.commandframework.CommandBean;
2828
import cloud.commandframework.CommandProperties;
29-
import cloud.commandframework.arguments.aggregate.AggregateCommandParser;
29+
import cloud.commandframework.arguments.aggregate.AggregateParser;
3030
import cloud.commandframework.arguments.flags.CommandFlag;
3131
import cloud.commandframework.arguments.parser.ArgumentParseResult;
3232
import cloud.commandframework.arguments.suggestion.SuggestionProvider;
@@ -77,7 +77,7 @@ public AddCatCommand(final @NonNull CatService catService) {
7777
protected Command.@NonNull Builder<SpringCommandSender> configure(
7878
final Command.@NonNull Builder<SpringCommandSender> builder
7979
) {
80-
final AggregateCommandParser<SpringCommandSender, Cat> catParser = AggregateCommandParser.<SpringCommandSender>builder()
80+
final AggregateParser<SpringCommandSender, Cat> catParser = AggregateParser.<SpringCommandSender>builder()
8181
.withComponent("name", stringParser(), SuggestionProvider.blocking((ctx, in) -> List.of(
8282
CloudCompletionProposal.of("Missy").displayText("Missy (A cute cat name)"),
8383
CloudCompletionProposal.of("Donald").displayText("Donald (Old man name = CUTE!)"),

0 commit comments

Comments
 (0)