From a91d881d736d4d01bc70a4cc369cf1e00989a38a Mon Sep 17 00:00:00 2001 From: Wyatt Childers Date: Sat, 19 Mar 2016 14:32:01 -0400 Subject: [PATCH] Fixed checkstyle test for the Sponge platform --- config/checkstyle/import-control.xml | 13 +++++++------ .../java/com/sk89q/worldedit/sponge/IDHelper.java | 12 ++++++------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/config/checkstyle/import-control.xml b/config/checkstyle/import-control.xml index 3e4233471..66d38b3ea 100644 --- a/config/checkstyle/import-control.xml +++ b/config/checkstyle/import-control.xml @@ -41,12 +41,6 @@ - - - - - - @@ -57,5 +51,12 @@ + + + + + + + diff --git a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/IDHelper.java b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/IDHelper.java index c19ccf06f..be717fa3d 100644 --- a/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/IDHelper.java +++ b/worldedit-sponge/src/main/java/com/sk89q/worldedit/sponge/IDHelper.java @@ -42,15 +42,15 @@ final class IDHelper { return ((BiomeGenBase) type).biomeID; } - public static ItemType resolveItem(int ID) { - return (ItemType) Item.getItemById(ID); + public static ItemType resolveItem(int intID) { + return (ItemType) Item.getItemById(intID); } - public static BlockType resolveBlock(int ID) { - return (BlockType) Block.getBlockById(ID); + public static BlockType resolveBlock(int intID) { + return (BlockType) Block.getBlockById(intID); } - public static BiomeType resolveBiome(int ID) { - return (BiomeType) BiomeGenBase.getBiome(ID); + public static BiomeType resolveBiome(int intID) { + return (BiomeType) BiomeGenBase.getBiome(intID); } }