From 36cbc5d9d0f9f9c692724d724f4f33b15617fd5c Mon Sep 17 00:00:00 2001 From: Kenzie Togami Date: Mon, 1 Oct 2018 15:30:23 -0700 Subject: [PATCH 1/2] Cleanup javadoc warnings in worldedit-core --- .../src/main/java/com/sk89q/worldedit/LocalSession.java | 2 +- .../worldedit/extent/validation/BlockChangeLimiter.java | 6 +++--- .../com/sk89q/worldedit/internal/expression/Expression.java | 2 +- .../java/com/sk89q/worldedit/util/formatting/Style.java | 2 +- .../java/com/sk89q/worldedit/world/block/BlockType.java | 2 +- .../java/com/sk89q/worldedit/world/storage/ChunkStore.java | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/LocalSession.java b/worldedit-core/src/main/java/com/sk89q/worldedit/LocalSession.java index c0f3a5b54..85ca1d12a 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/LocalSession.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/LocalSession.java @@ -526,7 +526,7 @@ public class LocalSession { * Get the tool assigned to the item. * * @param item the item type - * @return the tool, which may be {@link null} + * @return the tool, which may be {@code null} */ @Nullable public Tool getTool(ItemType item) { diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/extent/validation/BlockChangeLimiter.java b/worldedit-core/src/main/java/com/sk89q/worldedit/extent/validation/BlockChangeLimiter.java index c3332a250..a25477235 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/extent/validation/BlockChangeLimiter.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/extent/validation/BlockChangeLimiter.java @@ -41,7 +41,7 @@ public class BlockChangeLimiter extends AbstractDelegateExtent { * Create a new instance. * * @param extent the extent - * @param limit the limit (>= 0) or -1 for no limit + * @param limit the limit (>= 0) or -1 for no limit */ public BlockChangeLimiter(Extent extent, int limit) { super(extent); @@ -51,7 +51,7 @@ public class BlockChangeLimiter extends AbstractDelegateExtent { /** * Get the limit. * - * @return the limit (>= 0) or -1 for no limit + * @return the limit (>= 0) or -1 for no limit */ public int getLimit() { return limit; @@ -60,7 +60,7 @@ public class BlockChangeLimiter extends AbstractDelegateExtent { /** * Set the limit. * - * @param limit the limit (>= 0) or -1 for no limit + * @param limit the limit (>= 0) or -1 for no limit */ public void setLimit(int limit) { checkArgument(limit >= -1, "limit >= -1 required"); diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/internal/expression/Expression.java b/worldedit-core/src/main/java/com/sk89q/worldedit/internal/expression/Expression.java index 12190d532..463792213 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/internal/expression/Expression.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/internal/expression/Expression.java @@ -41,7 +41,7 @@ import java.util.Stack; *

Supported operators:

* *