From 27d4848463710e0824ab0f376bd69ac3625de517 Mon Sep 17 00:00:00 2001 From: pyure Date: Fri, 25 Sep 2015 18:25:21 -0400 Subject: [PATCH] Really minor convention tweak in block_ores Returning from the default clause of a switch stops eclipse from bitching about unhandled enums. --- .../gregtech/common/blocks/GT_Block_Ores.java | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/main/java/gregtech/common/blocks/GT_Block_Ores.java b/main/java/gregtech/common/blocks/GT_Block_Ores.java index 33531503..a03f70f1 100644 --- a/main/java/gregtech/common/blocks/GT_Block_Ores.java +++ b/main/java/gregtech/common/blocks/GT_Block_Ores.java @@ -102,8 +102,10 @@ public class GT_Block_Ores return aMaterial.mDefaultLocalName + " Infused Stone"; case Vermiculite: case Bentonite: case Kaolinite: case Talc: case BasalticMineralSand: case GraniticMineralSand: case GlauconiteSand: case CassiteriteSand: case GarnetSand: case QuartzSand: case Pitchblende: case FullersEarth: return aMaterial.mDefaultLocalName; + default: + return aMaterial.mDefaultLocalName + OrePrefixes.ore.mLocalizedMaterialPost; } - return aMaterial.mDefaultLocalName + OrePrefixes.ore.mLocalizedMaterialPost; + } public boolean onBlockEventReceived(World p_149696_1_, int p_149696_2_, int p_149696_3_, int p_149696_4_, int p_149696_5_, int p_149696_6_) @@ -260,8 +262,12 @@ public class GT_Block_Ores } } - -/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar - * Qualified Name: gregtech.common.blocks.GT_Block_Ores - * JD-Core Version: 0.7.0.1 - */ \ No newline at end of file + + +/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar + + * Qualified Name: gregtech.common.blocks.GT_Block_Ores + + * JD-Core Version: 0.7.0.1 + + */