From fb006fb25a0b2252f647c457e4d14962dd0db3e1 Mon Sep 17 00:00:00 2001 From: thatsIch Date: Tue, 4 Nov 2014 12:36:16 +0100 Subject: [PATCH] Remove not used throws --- src/main/java/appeng/integration/BaseModule.java | 2 +- src/main/java/appeng/integration/IIntegrationModule.java | 2 +- src/main/java/appeng/integration/modules/CLApi.java | 2 +- src/main/java/appeng/integration/modules/CraftGuide.java | 2 +- src/main/java/appeng/integration/modules/FMP.java | 2 +- .../java/appeng/integration/modules/ImmibisMicroblocks.java | 2 +- src/main/java/appeng/integration/modules/MFR.java | 2 +- src/main/java/appeng/integration/modules/MJ5.java | 2 +- src/main/java/appeng/integration/modules/MJ6.java | 2 +- src/main/java/appeng/integration/modules/Mekanism.java | 2 +- src/main/java/appeng/integration/modules/NEI.java | 2 +- src/main/java/appeng/integration/modules/RB.java | 2 +- src/main/java/appeng/integration/modules/RotaryCraft.java | 2 +- src/main/java/appeng/integration/modules/Waila.java | 2 +- src/main/java/appeng/recipes/game/IRecipeBakeable.java | 2 +- src/main/java/appeng/recipes/game/ShapelessRecipe.java | 2 +- src/main/java/appeng/tile/events/AETileEventHandler.java | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/main/java/appeng/integration/BaseModule.java b/src/main/java/appeng/integration/BaseModule.java index 3a5248b3..ea43e8f9 100644 --- a/src/main/java/appeng/integration/BaseModule.java +++ b/src/main/java/appeng/integration/BaseModule.java @@ -11,6 +11,6 @@ public abstract class BaseModule implements IIntegrationModule { public abstract void Init() throws Throwable; @Override - public abstract void PostInit() throws Throwable; + public abstract void PostInit(); } diff --git a/src/main/java/appeng/integration/IIntegrationModule.java b/src/main/java/appeng/integration/IIntegrationModule.java index cd117ec2..c8564d47 100644 --- a/src/main/java/appeng/integration/IIntegrationModule.java +++ b/src/main/java/appeng/integration/IIntegrationModule.java @@ -5,6 +5,6 @@ public interface IIntegrationModule void Init() throws Throwable; - void PostInit() throws Throwable; + void PostInit(); } diff --git a/src/main/java/appeng/integration/modules/CLApi.java b/src/main/java/appeng/integration/modules/CLApi.java index 8b887be1..8efb85c0 100644 --- a/src/main/java/appeng/integration/modules/CLApi.java +++ b/src/main/java/appeng/integration/modules/CLApi.java @@ -16,7 +16,7 @@ public class CLApi extends BaseModule implements ICLApi } @Override - public void PostInit() throws Throwable + public void PostInit() { // :P } diff --git a/src/main/java/appeng/integration/modules/CraftGuide.java b/src/main/java/appeng/integration/modules/CraftGuide.java index 580f1455..729920d2 100644 --- a/src/main/java/appeng/integration/modules/CraftGuide.java +++ b/src/main/java/appeng/integration/modules/CraftGuide.java @@ -360,7 +360,7 @@ public class CraftGuide extends CraftGuideAPIObject implements IIntegrationModul } @Override - public void PostInit() throws Throwable + public void PostInit() { } diff --git a/src/main/java/appeng/integration/modules/FMP.java b/src/main/java/appeng/integration/modules/FMP.java index d9304e56..6b4cf05d 100644 --- a/src/main/java/appeng/integration/modules/FMP.java +++ b/src/main/java/appeng/integration/modules/FMP.java @@ -92,7 +92,7 @@ public class FMP implements IIntegrationModule, IPartFactory, IPartConverter, IF } @Override - public void PostInit() throws Throwable + public void PostInit() { MinecraftForge.EVENT_BUS.register( new FMPEvent() ); } diff --git a/src/main/java/appeng/integration/modules/ImmibisMicroblocks.java b/src/main/java/appeng/integration/modules/ImmibisMicroblocks.java index 68cb31a1..339c9216 100644 --- a/src/main/java/appeng/integration/modules/ImmibisMicroblocks.java +++ b/src/main/java/appeng/integration/modules/ImmibisMicroblocks.java @@ -47,7 +47,7 @@ public class ImmibisMicroblocks extends BaseModule implements IImmibisMicroblock } @Override - public void PostInit() throws Throwable + public void PostInit() { } diff --git a/src/main/java/appeng/integration/modules/MFR.java b/src/main/java/appeng/integration/modules/MFR.java index 05c40c1d..911de6b1 100644 --- a/src/main/java/appeng/integration/modules/MFR.java +++ b/src/main/java/appeng/integration/modules/MFR.java @@ -19,7 +19,7 @@ public class MFR extends BaseModule } @Override - public void PostInit() throws Throwable + public void PostInit() { } diff --git a/src/main/java/appeng/integration/modules/MJ5.java b/src/main/java/appeng/integration/modules/MJ5.java index fa86e19b..0b02ca4a 100644 --- a/src/main/java/appeng/integration/modules/MJ5.java +++ b/src/main/java/appeng/integration/modules/MJ5.java @@ -29,7 +29,7 @@ public class MJ5 extends BaseModule implements IMJ5 } @Override - public void PostInit() throws Throwable + public void PostInit() { } diff --git a/src/main/java/appeng/integration/modules/MJ6.java b/src/main/java/appeng/integration/modules/MJ6.java index b34a596b..dfa7beac 100644 --- a/src/main/java/appeng/integration/modules/MJ6.java +++ b/src/main/java/appeng/integration/modules/MJ6.java @@ -30,7 +30,7 @@ public class MJ6 extends BaseModule implements IMJ6 } @Override - public void PostInit() throws Throwable + public void PostInit() { } diff --git a/src/main/java/appeng/integration/modules/Mekanism.java b/src/main/java/appeng/integration/modules/Mekanism.java index f53a0ee3..32500f3e 100644 --- a/src/main/java/appeng/integration/modules/Mekanism.java +++ b/src/main/java/appeng/integration/modules/Mekanism.java @@ -17,7 +17,7 @@ public class Mekanism extends BaseModule implements IMekanism } @Override - public void PostInit() throws Throwable + public void PostInit() { } diff --git a/src/main/java/appeng/integration/modules/NEI.java b/src/main/java/appeng/integration/modules/NEI.java index be790bac..4519b983 100644 --- a/src/main/java/appeng/integration/modules/NEI.java +++ b/src/main/java/appeng/integration/modules/NEI.java @@ -87,7 +87,7 @@ public class NEI extends BaseModule implements INEI, IContainerTooltipHandler } @Override - public void PostInit() throws Throwable + public void PostInit() { } diff --git a/src/main/java/appeng/integration/modules/RB.java b/src/main/java/appeng/integration/modules/RB.java index 3a705862..ab2a2f45 100644 --- a/src/main/java/appeng/integration/modules/RB.java +++ b/src/main/java/appeng/integration/modules/RB.java @@ -53,7 +53,7 @@ public class RB extends BaseModule implements IRB } @Override - public void PostInit() throws Throwable + public void PostInit() { } diff --git a/src/main/java/appeng/integration/modules/RotaryCraft.java b/src/main/java/appeng/integration/modules/RotaryCraft.java index 200df1be..eac396ed 100644 --- a/src/main/java/appeng/integration/modules/RotaryCraft.java +++ b/src/main/java/appeng/integration/modules/RotaryCraft.java @@ -18,7 +18,7 @@ public class RotaryCraft extends BaseModule } @Override - public void PostInit() throws Throwable + public void PostInit() { } diff --git a/src/main/java/appeng/integration/modules/Waila.java b/src/main/java/appeng/integration/modules/Waila.java index 2e84a62a..1218ce87 100644 --- a/src/main/java/appeng/integration/modules/Waila.java +++ b/src/main/java/appeng/integration/modules/Waila.java @@ -61,7 +61,7 @@ public class Waila extends BaseModule implements IWailaDataProvider, IWailaFMPPr } @Override - public void PostInit() throws Throwable + public void PostInit() { // :P } diff --git a/src/main/java/appeng/recipes/game/IRecipeBakeable.java b/src/main/java/appeng/recipes/game/IRecipeBakeable.java index 1dac5e21..43b8e1ad 100644 --- a/src/main/java/appeng/recipes/game/IRecipeBakeable.java +++ b/src/main/java/appeng/recipes/game/IRecipeBakeable.java @@ -7,6 +7,6 @@ import appeng.api.exceptions.RegistrationError; public interface IRecipeBakeable { - void bake() throws RegistrationError, MissingIngredientError; + void bake() throws RegistrationError; } diff --git a/src/main/java/appeng/recipes/game/ShapelessRecipe.java b/src/main/java/appeng/recipes/game/ShapelessRecipe.java index becc7088..f6818f94 100644 --- a/src/main/java/appeng/recipes/game/ShapelessRecipe.java +++ b/src/main/java/appeng/recipes/game/ShapelessRecipe.java @@ -139,7 +139,7 @@ public class ShapelessRecipe implements IRecipe, IRecipeBakeable } @Override - public void bake() throws RegistrationError, MissingIngredientError + public void bake() throws RegistrationError { try { diff --git a/src/main/java/appeng/tile/events/AETileEventHandler.java b/src/main/java/appeng/tile/events/AETileEventHandler.java index e91a99fb..1ab797ca 100644 --- a/src/main/java/appeng/tile/events/AETileEventHandler.java +++ b/src/main/java/appeng/tile/events/AETileEventHandler.java @@ -114,7 +114,7 @@ public class AETileEventHandler * @throws IOException */ @SideOnly(Side.CLIENT) - public boolean readFromStream(AEBaseTile tile, ByteBuf data) throws IOException + public boolean readFromStream(AEBaseTile tile, ByteBuf data) { try {