From b5c22d6275fede3a4fa1f92d3a74ac2bebc3e2dd Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Sun, 11 Aug 2024 21:37:10 +0200 Subject: [PATCH] Release 2.11.1 Signed-off-by: Alexander Brandes --- build.gradle.kts | 2 +- .../src/main/java/com/fastasyncworldedit/core/FaweAPI.java | 2 +- .../core/extent/clipboard/io/FastSchematicReaderV3.java | 2 +- .../core/extent/clipboard/io/FastSchematicWriterV3.java | 2 +- .../fastasyncworldedit/core/function/generator/SchemGen.java | 4 ++-- .../sk89q/worldedit/extent/clipboard/io/ClipboardFormat.java | 2 +- .../sk89q/worldedit/extent/clipboard/io/ClipboardFormats.java | 2 +- .../java/com/sk89q/worldedit/history/changeset/ChangeSet.java | 4 ++-- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 94f8120b9..b0216b3bf 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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-core/src/main/java/com/fastasyncworldedit/core/FaweAPI.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/FaweAPI.java index 0bf621bc6..28367a949 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/FaweAPI.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/FaweAPI.java @@ -119,7 +119,7 @@ public class FaweAPI { * @deprecated Opens streams that are not then closed. Use {@link ClipboardFormats#findByFile(File)} and its relevant * methods to allow closing created streams/closing the reader (which will close the stream(s)) */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "2.11.1") public static Clipboard load(File file) throws IOException { return ClipboardFormats.findByFile(file).load(file); } diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/io/FastSchematicReaderV3.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/io/FastSchematicReaderV3.java index db98d2203..8b6aa6cc8 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/io/FastSchematicReaderV3.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/io/FastSchematicReaderV3.java @@ -66,7 +66,7 @@ import java.util.zip.GZIPInputStream; * Not necessarily much faster than {@link com.sk89q.worldedit.extent.clipboard.io.sponge.SpongeSchematicV3Reader}, but uses a * stream based approach to keep the memory overhead minimal (especially in larger schematics) * - * @since TODO + * @since 2.11.1 */ @SuppressWarnings("removal") // JNBT public class FastSchematicReaderV3 implements ClipboardReader { diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/io/FastSchematicWriterV3.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/io/FastSchematicWriterV3.java index e00839eb0..1d1f0df2a 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/io/FastSchematicWriterV3.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/io/FastSchematicWriterV3.java @@ -36,7 +36,7 @@ import java.util.function.Function; * Faster, stream-based implementation of {@link com.sk89q.worldedit.extent.clipboard.io.sponge.SpongeSchematicV3Writer} for * writing schematics conforming the sponge schematic v3 format. * - * @since TODO + * @since 2.11.1 */ @SuppressWarnings("removal") // Yes, JNBT is deprecated - we know public class FastSchematicWriterV3 implements ClipboardWriter { diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/function/generator/SchemGen.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/function/generator/SchemGen.java index 83207f50b..775e9cf4c 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/function/generator/SchemGen.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/function/generator/SchemGen.java @@ -27,7 +27,7 @@ public class SchemGen implements Resource { /** * @deprecated Use {@link SchemGen#SchemGen(Mask, Extent, List, boolean, Region)} */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "2.11.1") public SchemGen(Mask mask, Extent extent, List clipboards, boolean randomRotate) { this.mask = mask; this.extent = extent; @@ -39,7 +39,7 @@ public class SchemGen implements Resource { /** * New instance. Places a schematic on terrain at a given x,z when appropriate * - * @since TODO + * @since 2.11.1 */ public SchemGen(Mask mask, Extent extent, List clipboards, boolean randomRotate, Region region) { this.mask = mask; diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/ClipboardFormat.java b/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/ClipboardFormat.java index cb1b97e2a..1961dd8cb 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/ClipboardFormat.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/ClipboardFormat.java @@ -101,7 +101,7 @@ public interface ClipboardFormat { * * @param inputStream The stream * @return true if the given stream is of this format - * @since TODO + * @since 2.11.1 */ default boolean isFormat(InputStream inputStream) { return false; diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/ClipboardFormats.java b/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/ClipboardFormats.java index 801baa187..d1529c803 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/ClipboardFormats.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/extent/clipboard/io/ClipboardFormats.java @@ -177,7 +177,7 @@ public class ClipboardFormats { * @deprecated DO NOT USE. Sponge formats 2 and 3 both use .schem by default. */ @Nullable - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "2.11.1") public static ClipboardFormat findByExtension(String extension) { checkNotNull(extension); diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/history/changeset/ChangeSet.java b/worldedit-core/src/main/java/com/sk89q/worldedit/history/changeset/ChangeSet.java index 890b247d6..750324569 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/history/changeset/ChangeSet.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/history/changeset/ChangeSet.java @@ -83,7 +83,7 @@ public interface ChangeSet extends Closeable { * @return the change count * @deprecated History could be larger than int max value so FAWE prefers {@link ChangeSet#longSize()} */ - @Deprecated(since = "TODO") + @Deprecated(since = "2.11.1") int size(); //FAWE start @@ -93,7 +93,7 @@ public interface ChangeSet extends Closeable { * History could be larger than int max value so FAWE prefers this method. * * @return the change count - * @since TODO + * @since 2.11.1 */ default long longSize() { return size();