Skip to content

Commit

Permalink
Swap which getSuggestions is primary
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeranny committed Mar 15, 2024
1 parent 2b0b604 commit 5c257f6
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -124,7 +124,7 @@ public E parseFromInput(String input, ParserContext context) throws InputParseEx
* @return a stream of suggestions matching the given input for the argument at the given index.
*/
protected Stream<String> getSuggestions(String argumentInput, int index) {
return Stream.empty();
return getSuggestions(argumentInput, index, new ParserContext());
}

/**
Expand All @@ -136,7 +136,7 @@ protected Stream<String> getSuggestions(String argumentInput, int index) {
* @return a stream of suggestions matching the given input for the argument at the given index.
*/
protected Stream<String> getSuggestions(String argumentInput, int index, ParserContext context) {
return getSuggestions(argumentInput, index);
return Stream.empty();
}

/**
Expand Down

0 comments on commit 5c257f6

Please sign in to comment.