Fix warnings and stuff

This commit is contained in:
2022-07-22 18:37:15 +02:00
parent c827027e77
commit c7a470e391
18 changed files with 46 additions and 30 deletions

View File

@@ -189,7 +189,7 @@ public interface SuggestionsSupplier<S> {
public static <S> SuggestionsSupplier<S> suggestDuration() {
static <S> SuggestionsSupplier<S> suggestDuration() {
final List<String> emptyTokenSuggestions = TimeUtil.DURATION_SUFFIXES.stream().map(p -> "1" + p).collect(Collectors.toList());
return (s, ti, token, args) -> {
if (token.isEmpty()) {