From dc42ac102585992a027afb56e96145ac98138664 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sun, 28 May 2023 08:21:48 -0400 Subject: [PATCH] Disable InterfaceIsType Checkstyle check By: Parker Hawke --- paper-api/checkstyle.xml | 1 - .../java/org/bukkit/inventory/meta/trim/TrimMaterial.java | 5 ----- .../java/org/bukkit/inventory/meta/trim/TrimPattern.java | 5 ----- 3 files changed, 11 deletions(-) diff --git a/paper-api/checkstyle.xml b/paper-api/checkstyle.xml index 17748ef946..5e25d87475 100644 --- a/paper-api/checkstyle.xml +++ b/paper-api/checkstyle.xml @@ -84,7 +84,6 @@ - diff --git a/paper-api/src/main/java/org/bukkit/inventory/meta/trim/TrimMaterial.java b/paper-api/src/main/java/org/bukkit/inventory/meta/trim/TrimMaterial.java index 0b7b43eed7..606e8ebb7d 100644 --- a/paper-api/src/main/java/org/bukkit/inventory/meta/trim/TrimMaterial.java +++ b/paper-api/src/main/java/org/bukkit/inventory/meta/trim/TrimMaterial.java @@ -6,7 +6,6 @@ import org.bukkit.MinecraftExperimental; import org.bukkit.NamespacedKey; import org.bukkit.Registry; import org.jetbrains.annotations.ApiStatus; -import org.jetbrains.annotations.NotNull; /** * Represents a material that may be used in an {@link ArmorTrim}. @@ -59,8 +58,4 @@ public interface TrimMaterial extends Keyed { * {@link Material#AMETHYST_SHARD}. */ public static final TrimMaterial AMETHYST = Registry.TRIM_MATERIAL.get(NamespacedKey.minecraft("amethyst")); - - @NotNull - @Override - public NamespacedKey getKey(); // Satisfies Checkstyle for now } diff --git a/paper-api/src/main/java/org/bukkit/inventory/meta/trim/TrimPattern.java b/paper-api/src/main/java/org/bukkit/inventory/meta/trim/TrimPattern.java index c1c4bf08e1..8c02eadcaa 100644 --- a/paper-api/src/main/java/org/bukkit/inventory/meta/trim/TrimPattern.java +++ b/paper-api/src/main/java/org/bukkit/inventory/meta/trim/TrimPattern.java @@ -6,7 +6,6 @@ import org.bukkit.MinecraftExperimental; import org.bukkit.NamespacedKey; import org.bukkit.Registry; import org.jetbrains.annotations.ApiStatus; -import org.jetbrains.annotations.NotNull; /** * Represents a pattern that may be used in an {@link ArmorTrim}. @@ -63,8 +62,4 @@ public interface TrimPattern extends Keyed { * {@link Material#SPIRE_ARMOR_TRIM_SMITHING_TEMPLATE}. */ public static final TrimPattern SPIRE = Registry.TRIM_PATTERN.get(NamespacedKey.minecraft("spire")); - - @NotNull - @Override - public NamespacedKey getKey(); // Satisfies Checkstyle for now }