mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
build: Release 2.3.0
This commit is contained in:
parent
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 snapshot by extra("SNAPSHOT")
|
||||||
var revision: String by extra("")
|
var revision: String by extra("")
|
||||||
var buildNumber 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")) {
|
if (!project.hasProperty("gitCommitHash")) {
|
||||||
apply(plugin = "org.ajoberstar.grgit")
|
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.
|
* 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 {
|
public class ReentrantWrappedStampedLock implements Lock {
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ public class ReentrantWrappedStampedLock implements Lock {
|
|||||||
*
|
*
|
||||||
* @return lock stam[ or 0 if not locked.
|
* @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
|
* @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() {
|
public long getStampChecked() {
|
||||||
if (stamp != 0 && owner != Thread.currentThread()) {
|
if (stamp != 0 && owner != Thread.currentThread()) {
|
||||||
@ -98,7 +98,7 @@ public class ReentrantWrappedStampedLock implements Lock {
|
|||||||
*
|
*
|
||||||
* @param stamp Stamp to unlock with
|
* @param stamp Stamp to unlock with
|
||||||
* @throws IllegalMonitorStateException if the given stamp does not match the lock's stamp
|
* @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) {
|
public void unlock(final long stamp) {
|
||||||
parent.unlockWrite(stamp);
|
parent.unlockWrite(stamp);
|
||||||
@ -110,7 +110,7 @@ public class ReentrantWrappedStampedLock implements Lock {
|
|||||||
* Returns true if the lock is currently held.
|
* Returns true if the lock is currently held.
|
||||||
*
|
*
|
||||||
* @return true if the lock is currently held.
|
* @return true if the lock is currently held.
|
||||||
* @since TODO
|
* @since 2.3.0
|
||||||
*/
|
*/
|
||||||
public boolean isLocked() {
|
public boolean isLocked() {
|
||||||
return owner == null && this.stamp == 0 && parent.isWriteLocked(); // Be verbose
|
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
|
* {@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.
|
* 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) {
|
public DiskOptimizedClipboard(BlockVector3 dimensions) {
|
||||||
this(
|
this(
|
||||||
dimensions,
|
dimensions,
|
||||||
|
@ -14,7 +14,7 @@ import javax.annotation.Nullable;
|
|||||||
/**
|
/**
|
||||||
* @deprecated Unused internally
|
* @deprecated Unused internally
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "2.3.0")
|
||||||
public class ArrayFilterBlock extends AbstractExtentFilterBlock {
|
public class ArrayFilterBlock extends AbstractExtentFilterBlock {
|
||||||
|
|
||||||
private final char[] blocks;
|
private final char[] blocks;
|
||||||
|
@ -15,7 +15,7 @@ public class FaweClipboardVersionMismatchException extends FaweException {
|
|||||||
/**
|
/**
|
||||||
* @deprecated Use {@link FaweClipboardVersionMismatchException#FaweClipboardVersionMismatchException(int, int)}
|
* @deprecated Use {@link FaweClipboardVersionMismatchException#FaweClipboardVersionMismatchException(int, int)}
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "2.3.0")
|
||||||
public FaweClipboardVersionMismatchException() {
|
public FaweClipboardVersionMismatchException() {
|
||||||
this(DiskOptimizedClipboard.VERSION, -1);
|
this(DiskOptimizedClipboard.VERSION, -1);
|
||||||
}
|
}
|
||||||
@ -25,7 +25,7 @@ public class FaweClipboardVersionMismatchException extends FaweException {
|
|||||||
*
|
*
|
||||||
* @param version version of clipboard attempting to be loaded
|
* @param version version of clipboard attempting to be loaded
|
||||||
* @param expected expected version of clipboard
|
* @param expected expected version of clipboard
|
||||||
* @since TODO
|
* @since 2.3.0
|
||||||
*/
|
*/
|
||||||
public FaweClipboardVersionMismatchException(int expected, int version) {
|
public FaweClipboardVersionMismatchException(int expected, int version) {
|
||||||
super(
|
super(
|
||||||
@ -44,7 +44,7 @@ public class FaweClipboardVersionMismatchException extends FaweException {
|
|||||||
/**
|
/**
|
||||||
* Get the version specified in the clipboard attempting to be loaded.
|
* Get the version specified in the clipboard attempting to be loaded.
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 2.3.0
|
||||||
*/
|
*/
|
||||||
public int getClipboardVersion() {
|
public int getClipboardVersion() {
|
||||||
return version;
|
return version;
|
||||||
@ -53,7 +53,7 @@ public class FaweClipboardVersionMismatchException extends FaweException {
|
|||||||
/**
|
/**
|
||||||
* Get the version that was expected of the clipboard
|
* Get the version that was expected of the clipboard
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 2.3.0
|
||||||
*/
|
*/
|
||||||
public int getExpectedVersion() {
|
public int getExpectedVersion() {
|
||||||
return expected;
|
return expected;
|
||||||
|
Loading…
Reference in New Issue
Block a user