Release 2.7.0

This commit is contained in:
Alexander Brandes 2023-07-22 12:27:54 +02:00
parent f58f00e97f
commit 37bfe426bc
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
10 changed files with 18 additions and 18 deletions

View File

@ -34,7 +34,7 @@ logger.lifecycle("""
*******************************************
""")
var rootVersion by extra("2.6.5")
var rootVersion by extra("2.7.0")
var snapshot by extra("SNAPSHOT")
var revision: String by extra("")
var buildNumber by extra("")
@ -52,7 +52,7 @@ ext {
}
}
version = String.format("%s-%s", rootVersion, buildNumber)
version = String.format("%s", rootVersion)
if (!project.hasProperty("gitCommitHash")) {
apply(plugin = "org.ajoberstar.grgit")

View File

@ -15,7 +15,7 @@ import org.jetbrains.annotations.Nullable;
/**
* Processor that removes existing entities that would not be in air after the edit
*
* @since TODO
* @since 2.7.0
*/
public class EntityInBlockRemovingProcessor implements IBatchProcessor {

View File

@ -16,7 +16,7 @@ import java.util.regex.Pattern;
* Pattern that replaces blocks based on their ID, matching for an "input" and replacing with an "output" string. The "input"
* string may be regex. Keeps as much of the block state as possible, excluding NBT data.
*
* @since TODO
* @since 2.7.0
*/
public class TypeSwapPattern extends AbstractExtentPattern {
@ -34,7 +34,7 @@ public class TypeSwapPattern extends AbstractExtentPattern {
* @param inputString string to replace. May be regex.
* @param outputString string to replace with
* @param allowRegex if regex should be allowed for input string matching
* @since TODO
* @since 2.7.0
*/
public TypeSwapPattern(Extent extent, String inputString, String outputString, boolean allowRegex) {
super(extent);

View File

@ -41,7 +41,7 @@ public class FaweException extends RuntimeException {
* New instance of a given {@link FaweException.Type}
*
* @param ignorable if an edit can continue if this exception is caught, e.g. by {@link com.fastasyncworldedit.core.extent.LimitExtent}
* @since TODO
* @since 2.7.0
*/
public FaweException(Component reason, Type type, boolean ignorable) {
this.message = reason;
@ -70,7 +70,7 @@ public class FaweException extends RuntimeException {
/**
* If an edit can continue if this exception is caught, e.g. by {@link com.fastasyncworldedit.core.extent.LimitExtent}
*
* @since TODO
* @since 2.7.0
*/
public boolean ignorable() {
return ignorable;

View File

@ -516,7 +516,7 @@ public abstract class QueueHandler implements Trimable, Runnable {
* <p>
* Internal API usage only.
*
* @since TODO
* @since 2.7.0
*/
public ExecutorService getForkJoinPoolPrimary() {
return forkJoinPoolPrimary;
@ -528,7 +528,7 @@ public abstract class QueueHandler implements Trimable, Runnable {
* <p>
* Internal API usage only.
*
* @since TODO
* @since 2.7.0
*/
public ExecutorService getForkJoinPoolSecondary() {
return forkJoinPoolSecondary;

View File

@ -38,7 +38,7 @@ public class FaweMask implements IDelegateRegion {
* @param type type of mask
* @param notify if the player should be notified
* @return if still valid
* @since TODO
* @since 2.7.0
*/
public boolean isValid(Player player, FaweMaskManager.MaskType type, boolean notify) {
return isValid(player, type);

View File

@ -30,7 +30,7 @@ public abstract class FaweMaskManager {
/**
* Get a {@link FaweMask} for the given player and {@link MaskType}. If isWhitelist is false, will return a "blacklist" mask.
*
* @since TODO
* @since 2.7.0
*/
public FaweMask getMask(final Player player, MaskType type, boolean isWhitelist, boolean notify) {
return getMask(player, type, isWhitelist);

View File

@ -91,7 +91,7 @@ public abstract class TaskManager {
*
* @deprecated Deprecated without replacement as unused internally, and poor implementation of what it's designed to do.
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.7.0")
public void parallel(Collection<Runnable> runables) {
for (Runnable run : runables) {
pool.submit(run);
@ -106,7 +106,7 @@ public abstract class TaskManager {
* @param numThreads number of threads (null = config.yml parallel threads)
* @deprecated Deprecated without replacement as unused internally, and poor implementation of what it's designed to do.
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.7.0")
public void parallel(Collection<Runnable> runnables, @Nullable Integer numThreads) {
if (runnables == null) {
return;
@ -278,7 +278,7 @@ public abstract class TaskManager {
/**
* @deprecated Deprecated without replacement as unused internally, and poor implementation of what it's designed to do.
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.7.0")
public void wait(AtomicBoolean running, int timeout) {
try {
long start = System.currentTimeMillis();
@ -299,7 +299,7 @@ public abstract class TaskManager {
/**
* @deprecated Deprecated without replacement as unused internally, and poor implementation of what it's designed to do.
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.7.0")
public void notify(AtomicBoolean running) {
running.set(false);
synchronized (running) {

View File

@ -13,7 +13,7 @@ import java.util.function.Supplier;
* async queue that accepts a {@link Thread.UncaughtExceptionHandler} for exception handling per instance, delegating to a
* parent {@link KeyQueuedExecutorService}.
*
* @since TODO
* @since 2.7.0
*/
public class AsyncNotifyKeyedQueue implements Closeable {

View File

@ -86,7 +86,7 @@ public class BlockType implements Keyed, Pattern {
* a specific requirement to actually create new block types, please contact the FAWE devs to discuss. Use
* {@link BlockTypes#get(String)} instead.
*/
@Deprecated(since = "TODO")
@Deprecated(since = "2.7.0")
//FAWE end
public BlockType(String id) {
this(id, null);
@ -98,7 +98,7 @@ public class BlockType implements Keyed, Pattern {
* a specific requirement to actually create new block types, please contact the FAWE devs to discuss. Use
* {@link BlockTypes#get(String)} instead.
*/
@Deprecated(since = "TODO")
@Deprecated(since = "2.7.0")
//FAWE end
public BlockType(String id, Function<BlockState, BlockState> values) {
// If it has no namespace, assume minecraft.