From c55a37bc522f0996862017031ff0322756f7b0a6 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Wed, 15 Jul 2020 12:12:28 +0800 Subject: Performance improvements to search filtering thanks to multithreading. Fix the drag state issue when deleting items. Signed-off-by: shedaniel --- src/main/java/me/shedaniel/rei/api/EntryRegistry.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/main/java/me/shedaniel/rei/api/EntryRegistry.java') diff --git a/src/main/java/me/shedaniel/rei/api/EntryRegistry.java b/src/main/java/me/shedaniel/rei/api/EntryRegistry.java index 723f468bf..449dae8d7 100644 --- a/src/main/java/me/shedaniel/rei/api/EntryRegistry.java +++ b/src/main/java/me/shedaniel/rei/api/EntryRegistry.java @@ -35,7 +35,6 @@ import org.jetbrains.annotations.Nullable; import java.util.Arrays; import java.util.Collection; -import java.util.Collections; import java.util.List; import java.util.stream.Collectors; import java.util.stream.Stream; @@ -91,9 +90,7 @@ public interface EntryRegistry { * @param afterEntry the stack to put after * @param stack the stack to register */ - default void registerEntryAfter(@Nullable EntryStack afterEntry, @NotNull EntryStack stack) { - registerEntriesAfter(afterEntry, Collections.singletonList(stack)); - } + void registerEntryAfter(@Nullable EntryStack afterEntry, @NotNull EntryStack stack); /** * Registers an new stack to the entry list -- cgit