From 0885f340e24aaedde2a29c4cbd3401f30dad46ef Mon Sep 17 00:00:00 2001 From: thatsIch Date: Sat, 20 Sep 2014 22:26:10 +0200 Subject: [PATCH] use ignore instead of _ because of Java8 --- client/gui/AEBaseMEGui.java | 4 ++-- client/gui/implementations/GuiNetworkStatus.java | 4 ++-- client/me/ItemRepo.java | 4 ++-- parts/p2p/PartP2PItems.java | 4 ++-- util/Platform.java | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/client/gui/AEBaseMEGui.java b/client/gui/AEBaseMEGui.java index d538fb34..34eaec81 100644 --- a/client/gui/AEBaseMEGui.java +++ b/client/gui/AEBaseMEGui.java @@ -34,7 +34,7 @@ public abstract class AEBaseMEGui extends AEBaseGui SlotME theSlotField = (SlotME) s; myStack = theSlotField.getAEStack(); } - catch (Throwable _) + catch (Throwable ignore) { } @@ -72,7 +72,7 @@ public abstract class AEBaseMEGui extends AEBaseGui SlotME theSlotField = (SlotME) s; myStack = theSlotField.getAEStack(); } - catch (Throwable _) + catch (Throwable ignore) { } diff --git a/client/gui/implementations/GuiNetworkStatus.java b/client/gui/implementations/GuiNetworkStatus.java index fa944775..a04bc11d 100644 --- a/client/gui/implementations/GuiNetworkStatus.java +++ b/client/gui/implementations/GuiNetworkStatus.java @@ -227,7 +227,7 @@ public class GuiNetworkStatus extends AEBaseGui implements ISortSource SlotME theSlotField = (SlotME) s; myStack = theSlotField.getAEStack(); } - catch (Throwable _) + catch (Throwable ignore) { } @@ -255,7 +255,7 @@ public class GuiNetworkStatus extends AEBaseGui implements ISortSource SlotME theSlotField = (SlotME) s; myStack = theSlotField.getAEStack(); } - catch (Throwable _) + catch (Throwable ignore) { } diff --git a/client/me/ItemRepo.java b/client/me/ItemRepo.java index 1549d330..3c2b8b81 100644 --- a/client/me/ItemRepo.java +++ b/client/me/ItemRepo.java @@ -108,7 +108,7 @@ public class ItemRepo b.invoke( searchField, "" ); } } - catch (Throwable _) + catch (Throwable ignore) { } @@ -143,7 +143,7 @@ public class ItemRepo { m = Pattern.compile( innerSearch.toLowerCase(), Pattern.CASE_INSENSITIVE ); } - catch (Throwable _) + catch (Throwable ignore) { try { diff --git a/parts/p2p/PartP2PItems.java b/parts/p2p/PartP2PItems.java index bd6ddc84..1fb9f5ff 100644 --- a/parts/p2p/PartP2PItems.java +++ b/parts/p2p/PartP2PItems.java @@ -82,7 +82,7 @@ public class PartP2PItems extends PartP2PTunnel implements IPipeCo { output = new WrapperBCPipe( te, side.getOpposite() ); } - catch (Throwable _) + catch (Throwable ignore) { } } @@ -92,7 +92,7 @@ public class PartP2PItems extends PartP2PTunnel implements IPipeCo /* * if ( AppEng.instance.isIntegrationEnabled( "TE" ) ) { ITE thermal = (ITE) AppEng.instance.getIntegration( * "TE" ); if ( thermal != null ) { if ( thermal.isPipe( te, side.getOpposite() ) ) { try { output = new - * WrapperTEPipe( te, side.getOpposite() ); } catch (Throwable _) { } } } } + * WrapperTEPipe( te, side.getOpposite() ); } catch (Throwable ignore) { } } } } */ if ( output == null ) diff --git a/util/Platform.java b/util/Platform.java index 4a1ecd4a..220dd3a8 100644 --- a/util/Platform.java +++ b/util/Platform.java @@ -884,7 +884,7 @@ public class Platform return wrench.canWrench( player, x, y, z ); } } - catch (Throwable _) + catch (Throwable ignore) { // explodes without BC }