From 8b05738929bd211e3d5b4e67e2a5e42be0287317 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Tue, 21 Jun 2022 12:58:21 +0100 Subject: [PATCH] Remove P2 apidescription annotation --- .../src/main/java/com/fastasyncworldedit/core/FaweCache.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/FaweCache.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/FaweCache.java index 583069ee6..c270daaf1 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/FaweCache.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/FaweCache.java @@ -147,12 +147,13 @@ public enum FaweCache implements Trimable { * internally-mutable and resettable classes such as {@link com.fastasyncworldedit.core.extent.filter.block.CharFilterBlock} * from causing issues when used in edits on the main thread. * + * This method is designed for specific internal use. + * * @param withInitial The supplier used to determine the initial value if a thread cache is created, else to provide a new * instance of the class being cached if on the main thread. * @return a {@link Function} referencing a cache, or the given {@link Supplier} * @since TODO */ - @AnnotationHelper.ApiDescription(info = "Designed for specific internal use.") public LongFunction createMainThreadSafeCache(Supplier withInitial) { return new LongFunction<>() { private final LoadingCache loadingCache = Fawe.isMainThread() ? null : FaweCache.INSTANCE.createCache(