Added since to deprecation

This commit is contained in:
Auxilor
2021-12-13 09:35:55 +00:00
parent f6942192de
commit a1afffdbbb
14 changed files with 14 additions and 14 deletions

View File

@@ -16,7 +16,7 @@ import java.util.List;
* update to use the new system.
*/
@FunctionalInterface
@Deprecated
@Deprecated(since = "6.17.0")
public interface CommandHandler {
/**
* The code to be called on execution.

View File

@@ -16,7 +16,7 @@ import java.util.List;
* update to use the new system.
*/
@FunctionalInterface
@Deprecated
@Deprecated(since = "6.17.0")
public interface TabCompleteHandler {
/**
* Handle Tab Completion.

View File

@@ -12,7 +12,7 @@ import java.util.List;
* eg {@link com.willfp.eco.core.config.TransientConfig}, {@link com.willfp.eco.core.config.BaseConfig}.
* These configs will be removed eventually.
*/
@Deprecated
@Deprecated(since = "6.17.0")
@SuppressWarnings("DeprecatedIsStillUsed")
public interface JSONConfig extends Config {
/**

View File

@@ -9,7 +9,7 @@ import org.bukkit.configuration.file.YamlConfiguration;
* eg {@link com.willfp.eco.core.config.TransientConfig}, {@link com.willfp.eco.core.config.BaseConfig}.
* These configs will be removed eventually.
*/
@Deprecated
@Deprecated(since = "6.17.0")
@SuppressWarnings("DeprecatedIsStillUsed")
public interface WrappedYamlConfiguration {
/**

View File

@@ -16,7 +16,7 @@ import org.jetbrains.annotations.NotNull;
* eg {@link com.willfp.eco.core.config.TransientConfig}, {@link com.willfp.eco.core.config.BaseConfig}.
* These configs will be removed eventually.
*/
@Deprecated
@Deprecated(since = "6.17.0")
public abstract class YamlBaseConfig extends LoadableYamlConfigWrapper {
/**
* @param configName The name of the config

View File

@@ -20,7 +20,7 @@ import org.jetbrains.annotations.NotNull;
* eg {@link com.willfp.eco.core.config.TransientConfig}, {@link com.willfp.eco.core.config.BaseConfig}.
* These configs will be removed eventually.
*/
@Deprecated
@Deprecated(since = "6.17.0")
public abstract class YamlExtendableConfig extends LoadableYamlConfigWrapper {
/**
* @param configName The name of the config

View File

@@ -14,7 +14,7 @@ import org.jetbrains.annotations.NotNull;
* eg {@link com.willfp.eco.core.config.TransientConfig}, {@link com.willfp.eco.core.config.BaseConfig}.
* These configs will be removed eventually.
*/
@Deprecated
@Deprecated(since = "6.17.0")
public abstract class YamlStaticBaseConfig extends LoadableYamlConfigWrapper {
/**
* Config implementation for configs present in the plugin's base directory (eg config.yml, lang.yml).

View File

@@ -17,7 +17,7 @@ import java.io.StringReader;
* eg {@link com.willfp.eco.core.config.TransientConfig}, {@link com.willfp.eco.core.config.BaseConfig}.
* These configs will be removed eventually.
*/
@Deprecated
@Deprecated(since = "6.17.0")
public class YamlTransientConfig extends YamlConfigWrapper {
/**
* @param config The YamlConfiguration handle.

View File

@@ -17,7 +17,7 @@ import java.io.IOException;
* eg {@link com.willfp.eco.core.config.TransientConfig}, {@link com.willfp.eco.core.config.BaseConfig}.
* These configs will be removed eventually.
*/
@Deprecated
@Deprecated(since = "6.17.0")
public abstract class LoadableYamlConfigWrapper extends YamlConfigWrapper implements LoadableConfig {
/**
* Create a config wrapper.

View File

@@ -13,7 +13,7 @@ import org.jetbrains.annotations.NotNull;
* eg {@link com.willfp.eco.core.config.TransientConfig}, {@link com.willfp.eco.core.config.BaseConfig}.
* These configs will be removed eventually.
*/
@Deprecated
@Deprecated(since = "6.17.0")
public abstract class YamlConfigWrapper extends ConfigWrapper<Config> implements WrappedYamlConfiguration {
/**
* Create a config wrapper.

View File

@@ -13,7 +13,7 @@ import java.util.function.Predicate;
*
* @deprecated Moved to internals.
*/
@Deprecated(forRemoval = true)
@Deprecated(since = "6.16.0", forRemoval = true)
public class ColorArgParser implements LookupArgParser {
/**
* Instantiate arg parser.

View File

@@ -13,7 +13,7 @@ import java.util.function.Predicate;
*
* @deprecated Moved to internals.
*/
@Deprecated(forRemoval = true)
@Deprecated(since = "6.16.0", forRemoval = true)
public class CustomModelDataArgParser implements LookupArgParser {
/**
* Instantiate arg parser.

View File

@@ -13,7 +13,7 @@ import java.util.function.Predicate;
*
* @deprecated Moved to internals.
*/
@Deprecated(forRemoval = true)
@Deprecated(since = "6.16.0", forRemoval = true)
public class EnchantmentArgParser implements LookupArgParser {
/**
* Instantiate arg parser.

View File

@@ -13,7 +13,7 @@ import java.util.function.Predicate;
*
* @deprecated Moved to internals.
*/
@Deprecated(forRemoval = true)
@Deprecated(since = "6.16.0", forRemoval = true)
public class TextureArgParser implements LookupArgParser {
/**
* Instantiate arg parser.