diff --git a/Core/src/main/java/com/plotsquared/core/configuration/caption/load/CaptionLoader.java b/Core/src/main/java/com/plotsquared/core/configuration/caption/load/CaptionLoader.java index ca6e934b0..68d99220c 100644 --- a/Core/src/main/java/com/plotsquared/core/configuration/caption/load/CaptionLoader.java +++ b/Core/src/main/java/com/plotsquared/core/configuration/caption/load/CaptionLoader.java @@ -174,7 +174,7 @@ public final class CaptionLoader { public @NonNull CaptionMap loadAll(final @NonNull Path directory) throws IOException { final Map localeMaps = new HashMap<>(); try (final Stream files = Files.list(directory)) { - final List captionFiles = files.filter(Files::isRegularFile).collect(Collectors.toList()); + final List captionFiles = files.filter(Files::isRegularFile).toList(); for (Path file : captionFiles) { try { final CaptionMap localeMap = loadSingle(file); @@ -221,7 +221,7 @@ public final class CaptionLoader { * @throws IOException if the file couldn't be accessed or read successfully. * @throws IllegalArgumentException if the file name doesn't match the specified format. * @see #loadSingle(Path) - * @since TODO + * @since 6.9.3 */ public @NonNull CaptionMap loadOrCreateSingle(final @NonNull Path file) throws IOException { final Locale locale = this.localeExtractor.apply(file); diff --git a/Core/src/main/java/com/plotsquared/core/util/Permissions.java b/Core/src/main/java/com/plotsquared/core/util/Permissions.java index f3a1df019..06d0ddbee 100644 --- a/Core/src/main/java/com/plotsquared/core/util/Permissions.java +++ b/Core/src/main/java/com/plotsquared/core/util/Permissions.java @@ -34,14 +34,14 @@ import org.checkerframework.checker.nullness.qual.NonNull; * @deprecated all logic that may once have been in the class lives elsewhere. We also want to do away with statically-accessed * classes */ -@Deprecated(forRemoval = true, since = "TODO") +@Deprecated(forRemoval = true, since = "6.9.3") public class Permissions { /** * @deprecated all logic that may once have been in the class lives elsewhere. We also want to do away with statically-accessed * classes */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.9.3") public static boolean hasPermission(PlotPlayer player, Permission permission, boolean notify) { return hasPermission(player, permission.toString(), notify); } @@ -55,7 +55,7 @@ public class Permissions { * @deprecated all logic that may once have been in the class lives elsewhere. We also want to do away with statically-accessed * classes */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.9.3") public static boolean hasPermission(final @NonNull PermissionHolder caller, final @NonNull Permission permission) { return caller.hasPermission(permission.toString()); } @@ -70,7 +70,7 @@ public class Permissions { * @deprecated all logic that may once have been in the class lives elsewhere. We also want to do away with statically-accessed * classes */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.9.3") public static boolean hasPermission(final @NonNull PermissionHolder caller, final @NonNull String permission) { return caller.hasPermission(permission); } @@ -87,7 +87,7 @@ public class Permissions { * @deprecated all logic that may once have been in the class lives elsewhere. We also want to do away with statically-accessed * classes */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.9.3") public static boolean hasKeyedPermission( final @NonNull PermissionHolder caller, final @NonNull String permission, final @NonNull String key @@ -105,7 +105,7 @@ public class Permissions { * @deprecated all logic that may once have been in the class lives elsewhere. We also want to do away with statically-accessed * classes */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.9.3") public static boolean hasPermission(PlotPlayer player, String permission, boolean notify) { if (!hasPermission(player, permission)) { if (notify) { @@ -123,7 +123,7 @@ public class Permissions { * @deprecated all logic that may once have been in the class lives elsewhere. We also want to do away with statically-accessed * classes */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.9.3") public static int hasPermissionRange(PlotPlayer player, Permission Permission, int range) { return hasPermissionRange(player, Permission.toString(), range); } @@ -140,7 +140,7 @@ public class Permissions { * @deprecated all logic that may once have been in the class lives elsewhere. We also want to do away with statically-accessed * classes */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.9.3") public static int hasPermissionRange(PlotPlayer player, String stub, int range) { return player.hasPermissionRange(stub, range); } diff --git a/build.gradle.kts b/build.gradle.kts index cb5f2a14b..636c715cc 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -19,7 +19,7 @@ plugins { } group = "com.plotsquared" -version = "6.9.3-SNAPSHOT" +version = "6.9.3" subprojects { group = rootProject.group