Release 2.11.1

Signed-off-by: Alexander Brandes <mc.cache@web.de>
This commit is contained in:
Alexander Brandes 2024-08-11 21:37:10 +02:00
parent 41d294e73b
commit b5c22d6275
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
8 changed files with 10 additions and 10 deletions

View File

@ -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")

View File

@ -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);
}

View File

@ -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 {

View File

@ -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 {

View File

@ -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<ClipboardHolder> 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<ClipboardHolder> clipboards, boolean randomRotate, Region region) {
this.mask = mask;

View File

@ -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;

View File

@ -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);

View File

@ -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();