mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 04:17:44 +01:00
Disable InterfaceIsType Checkstyle check
By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
parent
6c9fc2844d
commit
dc42ac1025
@ -84,7 +84,6 @@
|
|||||||
|
|
||||||
<!-- See http://checkstyle.sourceforge.net/config_design.html -->
|
<!-- See http://checkstyle.sourceforge.net/config_design.html -->
|
||||||
<module name="FinalClass"/>
|
<module name="FinalClass"/>
|
||||||
<module name="InterfaceIsType"/>
|
|
||||||
|
|
||||||
<!-- See http://checkstyle.sourceforge.net/config_misc.html -->
|
<!-- See http://checkstyle.sourceforge.net/config_misc.html -->
|
||||||
<module name="ArrayTypeStyle"/>
|
<module name="ArrayTypeStyle"/>
|
||||||
|
@ -6,7 +6,6 @@ import org.bukkit.MinecraftExperimental;
|
|||||||
import org.bukkit.NamespacedKey;
|
import org.bukkit.NamespacedKey;
|
||||||
import org.bukkit.Registry;
|
import org.bukkit.Registry;
|
||||||
import org.jetbrains.annotations.ApiStatus;
|
import org.jetbrains.annotations.ApiStatus;
|
||||||
import org.jetbrains.annotations.NotNull;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a material that may be used in an {@link ArmorTrim}.
|
* Represents a material that may be used in an {@link ArmorTrim}.
|
||||||
@ -59,8 +58,4 @@ public interface TrimMaterial extends Keyed {
|
|||||||
* {@link Material#AMETHYST_SHARD}.
|
* {@link Material#AMETHYST_SHARD}.
|
||||||
*/
|
*/
|
||||||
public static final TrimMaterial AMETHYST = Registry.TRIM_MATERIAL.get(NamespacedKey.minecraft("amethyst"));
|
public static final TrimMaterial AMETHYST = Registry.TRIM_MATERIAL.get(NamespacedKey.minecraft("amethyst"));
|
||||||
|
|
||||||
@NotNull
|
|
||||||
@Override
|
|
||||||
public NamespacedKey getKey(); // Satisfies Checkstyle for now
|
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,6 @@ import org.bukkit.MinecraftExperimental;
|
|||||||
import org.bukkit.NamespacedKey;
|
import org.bukkit.NamespacedKey;
|
||||||
import org.bukkit.Registry;
|
import org.bukkit.Registry;
|
||||||
import org.jetbrains.annotations.ApiStatus;
|
import org.jetbrains.annotations.ApiStatus;
|
||||||
import org.jetbrains.annotations.NotNull;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a pattern that may be used in an {@link ArmorTrim}.
|
* 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}.
|
* {@link Material#SPIRE_ARMOR_TRIM_SMITHING_TEMPLATE}.
|
||||||
*/
|
*/
|
||||||
public static final TrimPattern SPIRE = Registry.TRIM_PATTERN.get(NamespacedKey.minecraft("spire"));
|
public static final TrimPattern SPIRE = Registry.TRIM_PATTERN.get(NamespacedKey.minecraft("spire"));
|
||||||
|
|
||||||
@NotNull
|
|
||||||
@Override
|
|
||||||
public NamespacedKey getKey(); // Satisfies Checkstyle for now
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user