From ac71046feb6050ef75feb75b18b59a71374aec28 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Thu, 27 Jan 2022 13:49:17 +0100 Subject: [PATCH] build: Release 6.4.0 --- .../plotsquared/core/plot/expiration/ExpireManager.java | 4 ++-- .../com/plotsquared/core/plot/expiration/ExpiryTask.java | 2 +- .../java/com/plotsquared/core/util/PlayerManager.java | 8 ++++---- .../main/java/com/plotsquared/core/util/StringMan.java | 2 +- build.gradle.kts | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/plot/expiration/ExpireManager.java b/Core/src/main/java/com/plotsquared/core/plot/expiration/ExpireManager.java index b86f7af6e..58042d520 100644 --- a/Core/src/main/java/com/plotsquared/core/plot/expiration/ExpireManager.java +++ b/Core/src/main/java/com/plotsquared/core/plot/expiration/ExpireManager.java @@ -451,7 +451,7 @@ public class ExpireManager { plot.getPlotModificationManager().deletePlot(null, whenDone); } - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.4.0") public long getAge(UUID uuid) { return getAge(uuid, false); } @@ -462,7 +462,7 @@ public class ExpireManager { * @param uuid the uuid of the owner to check against * @param shouldDeleteUnknownOwner {@code true} if an unknown player should be counted as never online * @return the millis since the player was last online, or {@link Long#MAX_VALUE} if player was never online - * @since TODO + * @since 6.4.0 */ public long getAge(UUID uuid, final boolean shouldDeleteUnknownOwner) { if (PlotSquared.platform().playerManager().getPlayerIfExists(uuid) != null) { diff --git a/Core/src/main/java/com/plotsquared/core/plot/expiration/ExpiryTask.java b/Core/src/main/java/com/plotsquared/core/plot/expiration/ExpiryTask.java index 4ec683682..03a9c010b 100644 --- a/Core/src/main/java/com/plotsquared/core/plot/expiration/ExpiryTask.java +++ b/Core/src/main/java/com/plotsquared/core/plot/expiration/ExpiryTask.java @@ -160,7 +160,7 @@ public class ExpiryTask { /** * Returns {@code true} if this task respects unknown owners * @return {@code true} if unknown owners should be counted as never online - * @since TODO + * @since 6.4.0 */ public boolean shouldDeleteForUnknownOwner() { return settings.DELETE_IF_OWNER_IS_UNKNOWN; diff --git a/Core/src/main/java/com/plotsquared/core/util/PlayerManager.java b/Core/src/main/java/com/plotsquared/core/util/PlayerManager.java index aac7e4fd2..11be11a43 100644 --- a/Core/src/main/java/com/plotsquared/core/util/PlayerManager.java +++ b/Core/src/main/java/com/plotsquared/core/util/PlayerManager.java @@ -166,7 +166,7 @@ public abstract class PlayerManager

, T> { * @return The player's name, None, Everyone or Unknown * @deprecated Use {@link #resolveName(UUID)} */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.4.0") public static @NonNull String getName(final @Nullable UUID owner) { return getName(owner, true); } @@ -179,7 +179,7 @@ public abstract class PlayerManager

, T> { * @return The player's name, None, Everyone or Unknown * @deprecated Use {@link #resolveName(UUID, boolean)} */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.4.0") public static @NonNull String getName(final @Nullable UUID owner, final boolean blocking) { if (owner == null) { TranslatableCaption.of("info.none"); @@ -217,7 +217,7 @@ public abstract class PlayerManager

, T> { * @param owner The UUID of the owner * @return A caption containing either the name, {@code None}, {@code Everyone} or {@code Unknown} * @see #resolveName(UUID, boolean) - * @since TODO + * @since 6.4.0 */ public static @NonNull Caption resolveName(final @Nullable UUID owner) { return resolveName(owner, true); @@ -229,7 +229,7 @@ public abstract class PlayerManager

, T> { * @param owner The UUID of the owner * @param blocking If the operation should block the current thread for {@link Settings.UUID#BLOCKING_TIMEOUT} milliseconds * @return A caption containing either the name, {@code None}, {@code Everyone} or {@code Unknown} - * @since TODO + * @since 6.4.0 */ public static @NonNull Caption resolveName(final @Nullable UUID owner, final boolean blocking) { if (owner == null) { diff --git a/Core/src/main/java/com/plotsquared/core/util/StringMan.java b/Core/src/main/java/com/plotsquared/core/util/StringMan.java index a5c740a19..e01919bb4 100644 --- a/Core/src/main/java/com/plotsquared/core/util/StringMan.java +++ b/Core/src/main/java/com/plotsquared/core/util/StringMan.java @@ -328,7 +328,7 @@ public class StringMan { /** * @param message an input string * @return a list of strings - * @since TODO + * @since 6.4.0 * * * diff --git a/build.gradle.kts b/build.gradle.kts index 84112e733..fe54bf402 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -18,7 +18,7 @@ plugins { idea } -version = "6.3.1-SNAPSHOT" +version = "6.4.0" allprojects { group = "com.plotsquared"
Converts multiple quoted and single strings into a list of strings