From 14fc2dbf9b4be882430970978ce2546150a480b3 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Thu, 5 Aug 2021 18:33:19 +0200 Subject: [PATCH] Fix fawe-deprecation javadoc linking --- .../src/main/java/com/sk89q/jnbt/AdventureNBTConverter.java | 2 +- worldedit-core/src/main/java/com/sk89q/jnbt/NBTConstants.java | 2 +- worldedit-core/src/main/java/com/sk89q/jnbt/NBTInputStream.java | 2 +- .../src/main/java/com/sk89q/jnbt/NBTOutputStream.java | 2 +- worldedit-core/src/main/java/com/sk89q/jnbt/NamedTag.java | 2 +- worldedit-core/src/main/java/com/sk89q/jnbt/Tag.java | 2 +- .../main/java/com/sk89q/worldedit/world/block/BaseBlock.java | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/jnbt/AdventureNBTConverter.java b/worldedit-core/src/main/java/com/sk89q/jnbt/AdventureNBTConverter.java index 71122131f..1e9d36178 100644 --- a/worldedit-core/src/main/java/com/sk89q/jnbt/AdventureNBTConverter.java +++ b/worldedit-core/src/main/java/com/sk89q/jnbt/AdventureNBTConverter.java @@ -37,7 +37,7 @@ import java.util.function.Function; * * @deprecated JNBT is being removed in WE8. */ -@Deprecated +@Deprecated(forRemoval = true) public class AdventureNBTConverter { private static final BiMap, BinaryTagType> TAG_TYPES = diff --git a/worldedit-core/src/main/java/com/sk89q/jnbt/NBTConstants.java b/worldedit-core/src/main/java/com/sk89q/jnbt/NBTConstants.java index 9d65f5e79..54746fc49 100644 --- a/worldedit-core/src/main/java/com/sk89q/jnbt/NBTConstants.java +++ b/worldedit-core/src/main/java/com/sk89q/jnbt/NBTConstants.java @@ -27,7 +27,7 @@ import java.nio.charset.StandardCharsets; * * @deprecated JNBT is being removed for adventure-nbt in WorldEdit 8. */ -@Deprecated +@Deprecated(forRemoval = true) public final class NBTConstants { public static final Charset CHARSET = StandardCharsets.UTF_8; diff --git a/worldedit-core/src/main/java/com/sk89q/jnbt/NBTInputStream.java b/worldedit-core/src/main/java/com/sk89q/jnbt/NBTInputStream.java index 7cfce6896..301a96e08 100644 --- a/worldedit-core/src/main/java/com/sk89q/jnbt/NBTInputStream.java +++ b/worldedit-core/src/main/java/com/sk89q/jnbt/NBTInputStream.java @@ -45,7 +45,7 @@ import java.util.Map; * * @deprecated JNBT is being removed for adventure-nbt in WorldEdit 8. */ -@Deprecated +@Deprecated(forRemoval = true) public final class NBTInputStream implements Closeable { private final DataInputStream is; diff --git a/worldedit-core/src/main/java/com/sk89q/jnbt/NBTOutputStream.java b/worldedit-core/src/main/java/com/sk89q/jnbt/NBTOutputStream.java index 01d2f9b91..6342455eb 100644 --- a/worldedit-core/src/main/java/com/sk89q/jnbt/NBTOutputStream.java +++ b/worldedit-core/src/main/java/com/sk89q/jnbt/NBTOutputStream.java @@ -46,7 +46,7 @@ import static com.google.common.base.Preconditions.checkNotNull; * * @deprecated JNBT is being removed for adventure-nbt in WorldEdit 8. */ -@Deprecated +@Deprecated(forRemoval = true) public final class NBTOutputStream extends OutputStream implements Closeable, DataOutput { /** diff --git a/worldedit-core/src/main/java/com/sk89q/jnbt/NamedTag.java b/worldedit-core/src/main/java/com/sk89q/jnbt/NamedTag.java index f27116ddc..c7e2f9f28 100644 --- a/worldedit-core/src/main/java/com/sk89q/jnbt/NamedTag.java +++ b/worldedit-core/src/main/java/com/sk89q/jnbt/NamedTag.java @@ -26,7 +26,7 @@ import static com.google.common.base.Preconditions.checkNotNull; * * @deprecated JNBT is being removed for adventure-nbt in WorldEdit 8. */ -@Deprecated +@Deprecated(forRemoval = true) public class NamedTag { private final String name; diff --git a/worldedit-core/src/main/java/com/sk89q/jnbt/Tag.java b/worldedit-core/src/main/java/com/sk89q/jnbt/Tag.java index 900b87121..6327f4133 100644 --- a/worldedit-core/src/main/java/com/sk89q/jnbt/Tag.java +++ b/worldedit-core/src/main/java/com/sk89q/jnbt/Tag.java @@ -26,7 +26,7 @@ import com.sk89q.worldedit.util.nbt.BinaryTagLike; * * @deprecated JNBT is being removed for adventure-nbt in WorldEdit 8. */ -@Deprecated +@Deprecated(forRemoval = true) public abstract class Tag implements BinaryTagLike { /** diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BaseBlock.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BaseBlock.java index 536da7ec8..8ea15818c 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BaseBlock.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BaseBlock.java @@ -64,7 +64,7 @@ public class BaseBlock implements BlockStateHolder, TileEntityBlock { * Construct a block with the given type and default data. * * @param blockType The block type - * @deprecated Just use the BlockType.getDefaultState() + * @deprecated FAWE deprecation - Just use the {@link BlockType#getDefaultState()} */ @Deprecated public BaseBlock(BlockType blockType) {