Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-07 00:22:51 +02:00
Release 2.6.2
Dieser Commit ist enthalten in:
Ursprung
832f93c0f3
Commit
3b7d126718
@ -52,7 +52,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")
|
||||||
|
@ -447,7 +447,7 @@ public class Fawe {
|
|||||||
* Gets the executor used for clipboard IO if clipboard on disk is enabled or null
|
* Gets the executor used for clipboard IO if clipboard on disk is enabled or null
|
||||||
*
|
*
|
||||||
* @return Executor used for clipboard IO if clipboard on disk is enabled or null
|
* @return Executor used for clipboard IO if clipboard on disk is enabled or null
|
||||||
* @since TODO
|
* @since 2.6.2
|
||||||
*/
|
*/
|
||||||
@Nullable
|
@Nullable
|
||||||
public KeyQueuedExecutorService<UUID> getClipboardExecutor() {
|
public KeyQueuedExecutorService<UUID> getClipboardExecutor() {
|
||||||
|
@ -19,7 +19,7 @@ public class SuggestInputParseException extends InputParseException {
|
|||||||
/**
|
/**
|
||||||
* @deprecated Use {@link SuggestInputParseException#SuggestInputParseException(Component, Supplier)}
|
* @deprecated Use {@link SuggestInputParseException#SuggestInputParseException(Component, Supplier)}
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "2.6.2")
|
||||||
public SuggestInputParseException(String msg, String prefix, Supplier<List<String>> getSuggestions) {
|
public SuggestInputParseException(String msg, String prefix, Supplier<List<String>> getSuggestions) {
|
||||||
this(new InputParseException(msg), getSuggestions);
|
this(new InputParseException(msg), getSuggestions);
|
||||||
}
|
}
|
||||||
@ -27,7 +27,7 @@ public class SuggestInputParseException extends InputParseException {
|
|||||||
/**
|
/**
|
||||||
* @deprecated Use {@link SuggestInputParseException#of(Throwable, Supplier)}
|
* @deprecated Use {@link SuggestInputParseException#of(Throwable, Supplier)}
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "2.6.2")
|
||||||
public static SuggestInputParseException of(Throwable other, String prefix, Supplier<List<String>> getSuggestions) {
|
public static SuggestInputParseException of(Throwable other, String prefix, Supplier<List<String>> getSuggestions) {
|
||||||
if (other instanceof InputParseException) {
|
if (other instanceof InputParseException) {
|
||||||
return of((InputParseException) other, getSuggestions);
|
return of((InputParseException) other, getSuggestions);
|
||||||
@ -38,7 +38,7 @@ public class SuggestInputParseException extends InputParseException {
|
|||||||
/**
|
/**
|
||||||
* @deprecated Use {@link SuggestInputParseException#of(InputParseException, Supplier)}
|
* @deprecated Use {@link SuggestInputParseException#of(InputParseException, Supplier)}
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "2.6.2")
|
||||||
public static SuggestInputParseException of(InputParseException other, String prefix, Supplier<List<String>> getSuggestions) {
|
public static SuggestInputParseException of(InputParseException other, String prefix, Supplier<List<String>> getSuggestions) {
|
||||||
if (other instanceof SuggestInputParseException) {
|
if (other instanceof SuggestInputParseException) {
|
||||||
return (SuggestInputParseException) other;
|
return (SuggestInputParseException) other;
|
||||||
@ -49,7 +49,7 @@ public class SuggestInputParseException extends InputParseException {
|
|||||||
/**
|
/**
|
||||||
* @deprecated Use {@link SuggestInputParseException#SuggestInputParseException(InputParseException, Supplier)}
|
* @deprecated Use {@link SuggestInputParseException#SuggestInputParseException(InputParseException, Supplier)}
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "2.6.2")
|
||||||
public SuggestInputParseException(InputParseException other, String prefix, Supplier<List<String>> getSuggestions) {
|
public SuggestInputParseException(InputParseException other, String prefix, Supplier<List<String>> getSuggestions) {
|
||||||
super(other.getRichMessage());
|
super(other.getRichMessage());
|
||||||
checkNotNull(getSuggestions);
|
checkNotNull(getSuggestions);
|
||||||
@ -62,8 +62,8 @@ public class SuggestInputParseException extends InputParseException {
|
|||||||
* Create a new SuggestInputParseException instance
|
* Create a new SuggestInputParseException instance
|
||||||
*
|
*
|
||||||
* @param message Message to send
|
* @param message Message to send
|
||||||
* @param getSuggestions Supplier of list of sugegstions to give to user
|
* @param getSuggestions Supplier of list of suggestions to give to user
|
||||||
* @since TODO
|
* @since 2.6.2
|
||||||
*/
|
*/
|
||||||
public SuggestInputParseException(Component message, Supplier<List<String>> getSuggestions) {
|
public SuggestInputParseException(Component message, Supplier<List<String>> getSuggestions) {
|
||||||
this(new InputParseException(message), getSuggestions);
|
this(new InputParseException(message), getSuggestions);
|
||||||
@ -129,7 +129,7 @@ public class SuggestInputParseException extends InputParseException {
|
|||||||
/**
|
/**
|
||||||
* @deprecated Unused
|
* @deprecated Unused
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "2.6.2")
|
||||||
public SuggestInputParseException prepend(String input) {
|
public SuggestInputParseException prepend(String input) {
|
||||||
// Do nothing
|
// Do nothing
|
||||||
return this;
|
return this;
|
||||||
|
@ -158,7 +158,7 @@ public class DiskOptimizedClipboard extends LinearClipboard {
|
|||||||
* with data written to it.
|
* with data written to it.
|
||||||
* @deprecated Will be made private, use {@link DiskOptimizedClipboard#loadFromFile(File)}
|
* @deprecated Will be made private, use {@link DiskOptimizedClipboard#loadFromFile(File)}
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "2.6.2")
|
||||||
public DiskOptimizedClipboard(File file) {
|
public DiskOptimizedClipboard(File file) {
|
||||||
this(file, VERSION);
|
this(file, VERSION);
|
||||||
}
|
}
|
||||||
@ -171,7 +171,7 @@ public class DiskOptimizedClipboard extends LinearClipboard {
|
|||||||
* @param versionOverride An override version to allow loading of older clipboards if required
|
* @param versionOverride An override version to allow loading of older clipboards if required
|
||||||
* @deprecated Will be made private, use {@link DiskOptimizedClipboard#loadFromFile(File)}
|
* @deprecated Will be made private, use {@link DiskOptimizedClipboard#loadFromFile(File)}
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "2.6.2")
|
||||||
public DiskOptimizedClipboard(File file, int versionOverride) {
|
public DiskOptimizedClipboard(File file, int versionOverride) {
|
||||||
super(readSize(file, versionOverride), BlockVector3.ZERO);
|
super(readSize(file, versionOverride), BlockVector3.ZERO);
|
||||||
headerSize = getHeaderSizeOverrideFromVersion(versionOverride);
|
headerSize = getHeaderSizeOverrideFromVersion(versionOverride);
|
||||||
|
@ -166,7 +166,7 @@ public abstract class QueueHandler implements Trimable, Runnable {
|
|||||||
/**
|
/**
|
||||||
* @deprecated For removal without replacement.
|
* @deprecated For removal without replacement.
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "2.6.2")
|
||||||
public <T extends Future<T>> void complete(Future<T> task) {
|
public <T extends Future<T>> void complete(Future<T> task) {
|
||||||
try {
|
try {
|
||||||
while (task != null) {
|
while (task != null) {
|
||||||
@ -422,7 +422,7 @@ public abstract class QueueHandler implements Trimable, Runnable {
|
|||||||
* @param parallel if the "set" being started is parallel/async
|
* @param parallel if the "set" being started is parallel/async
|
||||||
* @deprecated To be replaced by better-named {@link QueueHandler#startUnsafe(boolean)} )}
|
* @deprecated To be replaced by better-named {@link QueueHandler#startUnsafe(boolean)} )}
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "2.6.2")
|
||||||
public void startSet(boolean parallel) {
|
public void startSet(boolean parallel) {
|
||||||
startUnsafe(parallel);
|
startUnsafe(parallel);
|
||||||
}
|
}
|
||||||
@ -434,7 +434,7 @@ public abstract class QueueHandler implements Trimable, Runnable {
|
|||||||
* @param parallel if the "set" being started is parallel/async
|
* @param parallel if the "set" being started is parallel/async
|
||||||
* @deprecated To be replaced by better-named {@link QueueHandler#endUnsafe(boolean)} )}
|
* @deprecated To be replaced by better-named {@link QueueHandler#endUnsafe(boolean)} )}
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "2.6.2")
|
||||||
public void endSet(boolean parallel) {
|
public void endSet(boolean parallel) {
|
||||||
startUnsafe(parallel);
|
startUnsafe(parallel);
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,7 @@ import java.util.UUID;
|
|||||||
* This is currently only used as a "copy" of {@link CharSetBlocks} to provide to
|
* This is currently only used as a "copy" of {@link CharSetBlocks} to provide to
|
||||||
* {@link com.fastasyncworldedit.core.queue.IBatchProcessor} instances for processing without overlapping the continuing edit.
|
* {@link com.fastasyncworldedit.core.queue.IBatchProcessor} instances for processing without overlapping the continuing edit.
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 2.6.2
|
||||||
*/
|
*/
|
||||||
public class ThreadUnsafeCharBlocks implements IChunkSet, IBlocks {
|
public class ThreadUnsafeCharBlocks implements IChunkSet, IBlocks {
|
||||||
|
|
||||||
@ -54,7 +54,7 @@ public class ThreadUnsafeCharBlocks implements IChunkSet, IBlocks {
|
|||||||
/**
|
/**
|
||||||
* New instance given the data stored in a {@link CharSetBlocks} instance.
|
* New instance given the data stored in a {@link CharSetBlocks} instance.
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 2.6.2
|
||||||
*/
|
*/
|
||||||
ThreadUnsafeCharBlocks(
|
ThreadUnsafeCharBlocks(
|
||||||
char[][] blocks,
|
char[][] blocks,
|
||||||
|
@ -18,7 +18,7 @@ import java.util.concurrent.TimeUnit;
|
|||||||
* Executor service that queues tasks based on keys, executing tasks on a configurable {@link ThreadPoolExecutor}
|
* Executor service that queues tasks based on keys, executing tasks on a configurable {@link ThreadPoolExecutor}
|
||||||
*
|
*
|
||||||
* @param <K> Key type
|
* @param <K> Key type
|
||||||
* @since TODO
|
* @since 2.6.2
|
||||||
*/
|
*/
|
||||||
public class KeyQueuedExecutorService<K> {
|
public class KeyQueuedExecutorService<K> {
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren