From f3387424387d06ca5dfd7883a0d83f821c8d083b Mon Sep 17 00:00:00 2001 From: yoyosource Date: Tue, 16 Aug 2022 18:14:59 +0200 Subject: [PATCH] Update list usage to collection in SWTypeMapperCreator --- src/de/steamwar/command/SWTypeMapperCreator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/de/steamwar/command/SWTypeMapperCreator.java b/src/de/steamwar/command/SWTypeMapperCreator.java index 33c5dcb..f21b0a8 100644 --- a/src/de/steamwar/command/SWTypeMapperCreator.java +++ b/src/de/steamwar/command/SWTypeMapperCreator.java @@ -19,10 +19,10 @@ package de.steamwar.command; -import java.util.List; +import java.util.Collection; import java.util.function.BiFunction; import java.util.function.Function; public interface SWTypeMapperCreator, K, V> { - T createTypeMapper(Function mapper, BiFunction> tabCompleter); + T createTypeMapper(Function mapper, BiFunction> tabCompleter); }