From 41f546ca6b89d83a136d4e2b0fe427e502a9a8b7 Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Wed, 18 May 2022 22:05:31 +0200 Subject: [PATCH] build: Release 6.8.0 --- .lift.toml | 4 ---- .../java/com/plotsquared/core/generator/AugmentedUtils.java | 4 ++-- .../core/queue/BlockArrayCacheScopedQueueCoordinator.java | 2 +- .../com/plotsquared/core/queue/ChunkQueueCoordinator.java | 2 +- .../java/com/plotsquared/core/queue/QueueCoordinator.java | 2 +- .../com/plotsquared/core/queue/ScopedQueueCoordinator.java | 2 +- build.gradle.kts | 2 +- 7 files changed, 7 insertions(+), 11 deletions(-) delete mode 100644 .lift.toml diff --git a/.lift.toml b/.lift.toml deleted file mode 100644 index 1501777dd..000000000 --- a/.lift.toml +++ /dev/null @@ -1,4 +0,0 @@ -jdkVersion = "17" -build = "gradle clean build -x test" -tools = ["findsecbugs", "ErrorProne", "Semgrep", "Detekt", "Infer"] -ignoreRules = ["CatchAndPrintStackTrace", "ReferenceEquality", "FallThrough", "FutureReturnValueIgnored", "MixedMutabilityReturnType", "EmptyCatch", "MissingCasesInEnumSwitch", "OperatorPrecedence", "StaticAssignmentInConstructor", "ReferenceEquality", "EqualsHashCode", "EqualsGetClass", "TypeParameterUnusedInFormals", "StringSplitter", "InlineMeSuggester", "NULL_DEREFERENCE"] diff --git a/Core/src/main/java/com/plotsquared/core/generator/AugmentedUtils.java b/Core/src/main/java/com/plotsquared/core/generator/AugmentedUtils.java index f2bcb7ceb..366d01ef0 100644 --- a/Core/src/main/java/com/plotsquared/core/generator/AugmentedUtils.java +++ b/Core/src/main/java/com/plotsquared/core/generator/AugmentedUtils.java @@ -64,7 +64,7 @@ public class AugmentedUtils { * @param chunkZ Chunk Z position * @param queue Queue to write to, if desired. * @return true if generation occurred. - * @since TODO + * @since 6.8.0 */ public static boolean generateChunk( final @NonNull String world, @@ -187,7 +187,7 @@ public class AugmentedUtils { * @deprecated Use {@link AugmentedUtils#generateChunk(String, int, int, QueueCoordinator)} as chunkObject is not required * in the above method */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.8.0") public static boolean generate( @Nullable Object chunkObject, final @NonNull String world, diff --git a/Core/src/main/java/com/plotsquared/core/queue/BlockArrayCacheScopedQueueCoordinator.java b/Core/src/main/java/com/plotsquared/core/queue/BlockArrayCacheScopedQueueCoordinator.java index 043e6e0ff..6202ddc30 100644 --- a/Core/src/main/java/com/plotsquared/core/queue/BlockArrayCacheScopedQueueCoordinator.java +++ b/Core/src/main/java/com/plotsquared/core/queue/BlockArrayCacheScopedQueueCoordinator.java @@ -64,7 +64,7 @@ public class BlockArrayCacheScopedQueueCoordinator extends ScopedQueueCoordinato * * @param min Inclusive location of the minimum point to limit the scope to. * @param max Inclusive location of the maximum point to limit the scope to. - * @since TODO + * @since 6.8.0 */ public BlockArrayCacheScopedQueueCoordinator(Location min, Location max) { super(null, min, max); diff --git a/Core/src/main/java/com/plotsquared/core/queue/ChunkQueueCoordinator.java b/Core/src/main/java/com/plotsquared/core/queue/ChunkQueueCoordinator.java index 65b35e8da..bfb405d42 100644 --- a/Core/src/main/java/com/plotsquared/core/queue/ChunkQueueCoordinator.java +++ b/Core/src/main/java/com/plotsquared/core/queue/ChunkQueueCoordinator.java @@ -41,7 +41,7 @@ import org.checkerframework.checker.nullness.qual.Nullable; * * @deprecated This class is poorly designed and will no longer be used in P2 */ -@Deprecated(forRemoval = true, since = "TODO") +@Deprecated(forRemoval = true, since = "6.8.0") public class ChunkQueueCoordinator extends ScopedQueueCoordinator { public final BiomeType[][][] biomeResult; diff --git a/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java b/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java index 8c40fe0bb..7622bb05d 100644 --- a/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java +++ b/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java @@ -253,7 +253,7 @@ public abstract class QueueCoordinator { * If the queue should accept biome placement * * @param enabled If biomes should be enabled - * @since TODO + * @since 6.8.0 */ public abstract void setBiomesEnabled(boolean enabled); diff --git a/Core/src/main/java/com/plotsquared/core/queue/ScopedQueueCoordinator.java b/Core/src/main/java/com/plotsquared/core/queue/ScopedQueueCoordinator.java index 496ac1406..464d27343 100644 --- a/Core/src/main/java/com/plotsquared/core/queue/ScopedQueueCoordinator.java +++ b/Core/src/main/java/com/plotsquared/core/queue/ScopedQueueCoordinator.java @@ -40,7 +40,7 @@ import org.checkerframework.checker.nullness.qual.Nullable; * * @deprecated This should be renamed to NormalizedScopedQueueCoordinator or something. */ -@Deprecated(forRemoval = true, since = "TODO") +@Deprecated(forRemoval = true, since = "6.8.0") public class ScopedQueueCoordinator extends DelegateQueueCoordinator { private final Location min; diff --git a/build.gradle.kts b/build.gradle.kts index 2e6b65b31..c78fe4be9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -18,7 +18,7 @@ plugins { idea } -version = "6.7.1-SNAPSHOT" +version = "6.8.0" allprojects { group = "com.plotsquared"