Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-07 00:22:51 +02:00
build: Release 2.3.0
Dieser Commit ist enthalten in:
Ursprung
aa94612b70
Commit
e54cae33f1
@ -22,7 +22,7 @@ logger.lifecycle("""
|
||||
*******************************************
|
||||
""")
|
||||
|
||||
var rootVersion by extra("2.2.1")
|
||||
var rootVersion by extra("2.3.0")
|
||||
var snapshot by extra("SNAPSHOT")
|
||||
var revision: String by extra("")
|
||||
var buildNumber by extra("")
|
||||
@ -40,7 +40,7 @@ ext {
|
||||
}
|
||||
}
|
||||
|
||||
version = String.format("%s-%s", rootVersion, buildNumber)
|
||||
version = String.format("%s", rootVersion)
|
||||
|
||||
if (!project.hasProperty("gitCommitHash")) {
|
||||
apply(plugin = "org.ajoberstar.grgit")
|
||||
|
@ -10,7 +10,7 @@ import java.util.concurrent.locks.StampedLock;
|
||||
/**
|
||||
* Allows for reentrant behaviour of a wrapped {@link StampedLock}. Will not count the number of times it is re-entered.
|
||||
*
|
||||
* @since TODO
|
||||
* @since 2.3.0
|
||||
*/
|
||||
public class ReentrantWrappedStampedLock implements Lock {
|
||||
|
||||
@ -84,7 +84,7 @@ public class ReentrantWrappedStampedLock implements Lock {
|
||||
*
|
||||
* @return lock stam[ or 0 if not locked.
|
||||
* @throws IllegalCallerException if the {@link StampedLock} is write-locked and the calling thread is not the lock owner
|
||||
* @since TODO
|
||||
* @since 2.3.0
|
||||
*/
|
||||
public long getStampChecked() {
|
||||
if (stamp != 0 && owner != Thread.currentThread()) {
|
||||
@ -98,7 +98,7 @@ public class ReentrantWrappedStampedLock implements Lock {
|
||||
*
|
||||
* @param stamp Stamp to unlock with
|
||||
* @throws IllegalMonitorStateException if the given stamp does not match the lock's stamp
|
||||
* @since TODO
|
||||
* @since 2.3.0
|
||||
*/
|
||||
public void unlock(final long stamp) {
|
||||
parent.unlockWrite(stamp);
|
||||
@ -110,7 +110,7 @@ public class ReentrantWrappedStampedLock implements Lock {
|
||||
* Returns true if the lock is currently held.
|
||||
*
|
||||
* @return true if the lock is currently held.
|
||||
* @since TODO
|
||||
* @since 2.3.0
|
||||
*/
|
||||
public boolean isLocked() {
|
||||
return owner == null && this.stamp == 0 && parent.isWriteLocked(); // Be verbose
|
||||
|
@ -97,7 +97,7 @@ public class DiskOptimizedClipboard extends LinearClipboard {
|
||||
* {@link DiskOptimizedClipboard#DiskOptimizedClipboard(BlockVector3, File)} to avoid creating a large number of clipboard
|
||||
* files that won't be cleaned until `clipboard.delete-after-days` and a server restart.
|
||||
*/
|
||||
@Deprecated(forRemoval = true, since = "TODO")
|
||||
@Deprecated(forRemoval = true, since = "2.3.0")
|
||||
public DiskOptimizedClipboard(BlockVector3 dimensions) {
|
||||
this(
|
||||
dimensions,
|
||||
|
@ -14,7 +14,7 @@ import javax.annotation.Nullable;
|
||||
/**
|
||||
* @deprecated Unused internally
|
||||
*/
|
||||
@Deprecated(forRemoval = true, since = "TODO")
|
||||
@Deprecated(forRemoval = true, since = "2.3.0")
|
||||
public class ArrayFilterBlock extends AbstractExtentFilterBlock {
|
||||
|
||||
private final char[] blocks;
|
||||
|
@ -15,7 +15,7 @@ public class FaweClipboardVersionMismatchException extends FaweException {
|
||||
/**
|
||||
* @deprecated Use {@link FaweClipboardVersionMismatchException#FaweClipboardVersionMismatchException(int, int)}
|
||||
*/
|
||||
@Deprecated(forRemoval = true, since = "TODO")
|
||||
@Deprecated(forRemoval = true, since = "2.3.0")
|
||||
public FaweClipboardVersionMismatchException() {
|
||||
this(DiskOptimizedClipboard.VERSION, -1);
|
||||
}
|
||||
@ -25,7 +25,7 @@ public class FaweClipboardVersionMismatchException extends FaweException {
|
||||
*
|
||||
* @param version version of clipboard attempting to be loaded
|
||||
* @param expected expected version of clipboard
|
||||
* @since TODO
|
||||
* @since 2.3.0
|
||||
*/
|
||||
public FaweClipboardVersionMismatchException(int expected, int version) {
|
||||
super(
|
||||
@ -44,7 +44,7 @@ public class FaweClipboardVersionMismatchException extends FaweException {
|
||||
/**
|
||||
* Get the version specified in the clipboard attempting to be loaded.
|
||||
*
|
||||
* @since TODO
|
||||
* @since 2.3.0
|
||||
*/
|
||||
public int getClipboardVersion() {
|
||||
return version;
|
||||
@ -53,7 +53,7 @@ public class FaweClipboardVersionMismatchException extends FaweException {
|
||||
/**
|
||||
* Get the version that was expected of the clipboard
|
||||
*
|
||||
* @since TODO
|
||||
* @since 2.3.0
|
||||
*/
|
||||
public int getExpectedVersion() {
|
||||
return expected;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren