From 95470c81b302ea8b087d417ee36da2d6cc73b2c3 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Fri, 10 Jun 2022 13:49:48 +0100 Subject: [PATCH] Remove old create method that Guice doesn't like --- .../factory/ChunkCoordinatorFactory.java | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/inject/factory/ChunkCoordinatorFactory.java b/Core/src/main/java/com/plotsquared/core/inject/factory/ChunkCoordinatorFactory.java index 87392ef54..5be3a5421 100644 --- a/Core/src/main/java/com/plotsquared/core/inject/factory/ChunkCoordinatorFactory.java +++ b/Core/src/main/java/com/plotsquared/core/inject/factory/ChunkCoordinatorFactory.java @@ -37,36 +37,6 @@ import java.util.function.Consumer; public interface ChunkCoordinatorFactory { - /** - * @deprecated Use {@link ChunkCoordinatorFactory#create(long, int, Consumer, World, Collection, Runnable, Consumer, boolean, Collection, boolean)} - */ - @Deprecated(forRemoval = true, since = "TODO") - @NonNull - default ChunkCoordinator create( - final long maxIterationTime, - final int initialBatchSize, - final @NonNull Consumer chunkConsumer, - final @NonNull World world, - final @NonNull Collection requestedChunks, - final @NonNull Runnable whenDone, - final @NonNull Consumer throwableConsumer, - final boolean unloadAfter, - final @NonNull Collection progressSubscribers - ) { - return create( - maxIterationTime, - initialBatchSize, - chunkConsumer, - world, - requestedChunks, - whenDone, - throwableConsumer, - unloadAfter, - progressSubscribers, - false - ); - } - @NonNull ChunkCoordinator create( final long maxIterationTime, final int initialBatchSize,