diff --git a/build.gradle.kts b/build.gradle.kts index adab2bddb..0545bf5fa 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -34,7 +34,7 @@ logger.lifecycle(""" ******************************************* """) -var rootVersion by extra("2.11.3") +var rootVersion by extra("2.12.0") var snapshot by extra("SNAPSHOT") var revision: String by extra("") var buildNumber by extra("") @@ -52,7 +52,7 @@ ext { } } -version = String.format("%s-%s", rootVersion, buildNumber) +version = String.format("%s", rootVersion) if (!project.hasProperty("gitCommitHash")) { apply(plugin = "org.ajoberstar.grgit") diff --git a/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/adapter/NMSAdapter.java b/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/adapter/NMSAdapter.java index 4fc00996a..f8b240bb9 100644 --- a/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/adapter/NMSAdapter.java +++ b/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/adapter/NMSAdapter.java @@ -155,7 +155,7 @@ public class NMSAdapter implements FAWEPlatformAdapterImpl { * Utilises ConcurrentHashMap#compute for easy synchronisation for all of the above. Only tryWriteLock is used in blocks * synchronised using ConcurrentHashMap methods. * - * @since TODO + * @since 2.12.0 */ protected static boolean setSectionAtomic( String worldName, @@ -212,7 +212,7 @@ public class NMSAdapter implements FAWEPlatformAdapterImpl { *

* Utilises ConcurrentHashMap#compute for easy synchronisation * - * @since TODO + * @since 2.12.0 */ protected static void beginChunkPacketSend(String worldName, IntPair pair, StampLockHolder stampedLock) { ConcurrentHashMap chunks = FaweBukkitWorld.getWorldSendingChunksMap(worldName); @@ -233,7 +233,7 @@ public class NMSAdapter implements FAWEPlatformAdapterImpl { /** * Releases the read lock acquired when sending a chunk packet for a chunk * - * @since TODO + * @since 2.12.0 */ protected static void endChunkPacketSend(String worldName, IntPair pair, StampLockHolder lockHolder) { ConcurrentHashMap chunks = FaweBukkitWorld.getWorldSendingChunksMap(worldName); diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/LimitExtent.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/LimitExtent.java index 0bef1afc2..90ca09810 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/LimitExtent.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/LimitExtent.java @@ -55,7 +55,7 @@ public class LimitExtent extends AbstractDelegateExtent implements IBatchProcess * @param limit the limit * @deprecated Use {@link LimitExtent#LimitExtent(Extent, FaweLimit, Consumer, boolean)} */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "2.12.0") public LimitExtent(Extent extent, FaweLimit limit) { this(extent, limit, c -> { }); @@ -69,7 +69,7 @@ public class LimitExtent extends AbstractDelegateExtent implements IBatchProcess * @param onErrorMessage consumer to handle a component generated by exceptions * @deprecated Use {@link LimitExtent#LimitExtent(Extent, FaweLimit, Consumer, boolean)} */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "2.12.0") public LimitExtent(Extent extent, FaweLimit limit, Consumer onErrorMessage) { this(extent, limit, onErrorMessage, false); } @@ -81,7 +81,7 @@ public class LimitExtent extends AbstractDelegateExtent implements IBatchProcess * @param limit the limit * @param onErrorMessage consumer to handle a component generated by exceptions * @param processing if this limit extent is expected to be processing - * @since TODO + * @since 2.12.0 */ public LimitExtent( Extent extent, diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/LinearClipboard.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/LinearClipboard.java index cc0bb07f6..7d60f3ee4 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/LinearClipboard.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/LinearClipboard.java @@ -60,7 +60,7 @@ public abstract class LinearClipboard extends SimpleClipboard { /** * @deprecated will be removed as it is unused and uses outdated types */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "2.12.0") public abstract Collection getTileEntities(); @Override diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/limit/FaweLimit.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/limit/FaweLimit.java index 2bb002914..0dde6baac 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/limit/FaweLimit.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/limit/FaweLimit.java @@ -299,7 +299,7 @@ public class FaweLimit { /** * Get an {@link FaweLimit} representing the amount of a limit used from a given "original" limit * - * @since TODO + * @since 2.12.0 */ public FaweLimit getLimitUsed(FaweLimit originalLimit) { FaweLimit newLimit = new FaweLimit(); diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/util/NbtUtils.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/util/NbtUtils.java index 8b427c322..07a047360 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/util/NbtUtils.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/util/NbtUtils.java @@ -216,7 +216,7 @@ public final class NbtUtils { * {@return the position data of the given tag} * * @param compoundTag the tag to extract position information from - * @since TODO + * @since 2.12.0 */ public static Vector3 entityPosition(FaweCompoundTag compoundTag) { LinListTag pos = compoundTag.linTag().getListTag("Pos", LinTagType.doubleTag()); diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/Brush.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/Brush.java index e38ae0d99..938a2f8dd 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/Brush.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/tool/brush/Brush.java @@ -44,7 +44,7 @@ public interface Brush { /** * If this brush is expected to set blocks synchronously, i.e. from one thread (at a time) * - * @since TODO + * @since 2.12.0 */ default boolean setsSynchronously() { return true; diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/util/annotation/SynchronousSettingExpected.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/util/annotation/SynchronousSettingExpected.java index 3cc936fda..6d94fb3ff 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/util/annotation/SynchronousSettingExpected.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/util/annotation/SynchronousSettingExpected.java @@ -10,7 +10,7 @@ import java.lang.annotation.Target; /** * Indicates it is expected that blocks will only be set synchronously, i.e. from one thread (at a time) * - * @since TODO + * @since 2.12.0 */ @Retention(RetentionPolicy.RUNTIME) @Target({