Add explicit deprecation SuppressWarnings for Gradle
This commit is contained in:
3 files changed
+3
No files matched your search
@@ -38,6 +38,7 @@ import org.apache.commons.lang3.ClassUtils;
|
||||
* @deprecated Use the type {@link CarpetRule} instead
|
||||
*/
|
||||
@Deprecated(forRemoval = true) // to move to api.settings package and visibility to package private
|
||||
@SuppressWarnings("removal") // Gradle needs the explicit suppression
|
||||
public final class ParsedRule<T> implements CarpetRule<T>, Comparable<ParsedRule<?>> {
|
||||
private static final Map<Class<?>, FromStringConverter<?>> CONVERTER_MAP = Map.ofEntries(
|
||||
Map.entry(String.class, str -> str),
|
||||
|
||||
@@ -19,6 +19,7 @@ import java.util.List;
|
||||
* @deprecated Use {@link carpet.api.settings.SettingsManager} instead
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
@SuppressWarnings("removal") // Gradle needs the explicit suppression
|
||||
public class SettingsManager extends carpet.api.settings.SettingsManager
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -11,6 +11,7 @@ import net.minecraft.commands.CommandSourceStack;
|
||||
* @deprecated Use {@link carpet.api.settings.Validator} instead
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
@SuppressWarnings("removal") // Gradle needs the explicit suppression
|
||||
public abstract class Validator<T> extends carpet.api.settings.Validator<T>
|
||||
{
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user