From 0acbefbfaa44dfe3b2b7917095c014fbb5b683ce Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Wed, 1 Jan 2014 15:46:16 -0600 Subject: [PATCH] Typos eeeek --- .../implementations/ContainerMEMonitorable.java | 4 ++-- me/cache/NetworkMonitor.java | 4 ++-- me/storage/MEMonitorIInventory.java | 14 +++++++------- me/storage/MEMonitorPassthu.java | 16 ++++++++-------- parts/misc/PartStorageBus.java | 4 ++-- tile/storage/TileChest.java | 14 +++++++------- util/Platform.java | 4 ++-- 7 files changed, 30 insertions(+), 30 deletions(-) diff --git a/container/implementations/ContainerMEMonitorable.java b/container/implementations/ContainerMEMonitorable.java index 764ecb94..833e0cb8 100644 --- a/container/implementations/ContainerMEMonitorable.java +++ b/container/implementations/ContainerMEMonitorable.java @@ -15,7 +15,7 @@ import appeng.api.networking.IGridHost; import appeng.api.networking.IGridNode; import appeng.api.networking.energy.IEnergyGrid; import appeng.api.storage.IMEMonitor; -import appeng.api.storage.IMEMontorHandlerReciever; +import appeng.api.storage.IMEMonitorHandlerReciever; import appeng.api.storage.data.IAEItemStack; import appeng.api.storage.data.IItemList; import appeng.container.AEBaseContainer; @@ -25,7 +25,7 @@ import appeng.util.item.ItemList; import cpw.mods.fml.common.network.PacketDispatcher; import cpw.mods.fml.common.network.Player; -public class ContainerMEMonitorable extends AEBaseContainer implements IMEMontorHandlerReciever +public class ContainerMEMonitorable extends AEBaseContainer implements IMEMonitorHandlerReciever { final IMEMonitor monitor; diff --git a/me/cache/NetworkMonitor.java b/me/cache/NetworkMonitor.java index 028ee972..fb5b51c7 100644 --- a/me/cache/NetworkMonitor.java +++ b/me/cache/NetworkMonitor.java @@ -4,11 +4,11 @@ import java.util.LinkedList; import appeng.api.networking.events.MENetworkStorageEvent; import appeng.api.storage.IMEInventoryHandler; -import appeng.api.storage.MEMontorHandler; +import appeng.api.storage.MEMonitorHandler; import appeng.api.storage.StorageChannel; import appeng.api.storage.data.IAEStack; -public class NetworkMonitor> extends MEMontorHandler +public class NetworkMonitor> extends MEMonitorHandler { final private GridStorageCache myGridCache; diff --git a/me/storage/MEMonitorIInventory.java b/me/storage/MEMonitorIInventory.java index 67c46069..ca9ef74f 100644 --- a/me/storage/MEMonitorIInventory.java +++ b/me/storage/MEMonitorIInventory.java @@ -14,7 +14,7 @@ import appeng.api.config.Actionable; import appeng.api.networking.ticking.TickRateModulation; import appeng.api.storage.IMEInventory; import appeng.api.storage.IMEMonitor; -import appeng.api.storage.IMEMontorHandlerReciever; +import appeng.api.storage.IMEMonitorHandlerReciever; import appeng.api.storage.StorageChannel; import appeng.api.storage.data.IAEItemStack; import appeng.api.storage.data.IItemList; @@ -54,16 +54,16 @@ public class MEMonitorIInventory implements IMEInventory, IMEMonit final TreeMap memory; final IItemList list = new ItemList(); - final HashMap, Object> listeners = new HashMap(); + final HashMap, Object> listeners = new HashMap(); @Override - public void addListener(IMEMontorHandlerReciever l, Object verificationToken) + public void addListener(IMEMonitorHandlerReciever l, Object verificationToken) { listeners.put( l, verificationToken ); } @Override - public void removeListener(IMEMontorHandlerReciever l) + public void removeListener(IMEMonitorHandlerReciever l) { listeners.remove( l ); } @@ -235,11 +235,11 @@ public class MEMonitorIInventory implements IMEInventory, IMEMonit // AELog.info( a.getItemStack().getUnlocalizedName() + " @ " + a.getStackSize() ); if ( a != null ) { - Iterator, Object>> i = listeners.entrySet().iterator(); + Iterator, Object>> i = listeners.entrySet().iterator(); while (i.hasNext()) { - Entry, Object> l = i.next(); - IMEMontorHandlerReciever key = l.getKey(); + Entry, Object> l = i.next(); + IMEMonitorHandlerReciever key = l.getKey(); if ( key.isValid( l.getValue() ) ) key.postChange( a ); else diff --git a/me/storage/MEMonitorPassthu.java b/me/storage/MEMonitorPassthu.java index d3e083fa..2cf0eef2 100644 --- a/me/storage/MEMonitorPassthu.java +++ b/me/storage/MEMonitorPassthu.java @@ -6,16 +6,16 @@ import java.util.Map.Entry; import appeng.api.storage.IMEInventory; import appeng.api.storage.IMEMonitor; -import appeng.api.storage.IMEMontorHandlerReciever; +import appeng.api.storage.IMEMonitorHandlerReciever; import appeng.api.storage.data.IAEStack; import appeng.api.storage.data.IItemList; import appeng.util.Platform; import appeng.util.item.ItemList; -public class MEMonitorPassthu> extends MEPassthru implements IMEMonitor, IMEMontorHandlerReciever +public class MEMonitorPassthu> extends MEPassthru implements IMEMonitor, IMEMonitorHandlerReciever { - HashMap, Object> listeners = new HashMap(); + HashMap, Object> listeners = new HashMap(); IMEMonitor monitor; public MEMonitorPassthu(IMEInventory i) { @@ -46,13 +46,13 @@ public class MEMonitorPassthu> extends MEPassthru imple } @Override - public void addListener(IMEMontorHandlerReciever l, Object verificationToken) + public void addListener(IMEMonitorHandlerReciever l, Object verificationToken) { listeners.put( l, verificationToken ); } @Override - public void removeListener(IMEMontorHandlerReciever l) + public void removeListener(IMEMonitorHandlerReciever l) { listeners.remove( l ); } @@ -74,11 +74,11 @@ public class MEMonitorPassthu> extends MEPassthru imple @Override public void postChange(T change) { - Iterator, Object>> i = listeners.entrySet().iterator(); + Iterator, Object>> i = listeners.entrySet().iterator(); while (i.hasNext()) { - Entry, Object> e = i.next(); - IMEMontorHandlerReciever recv = e.getKey(); + Entry, Object> e = i.next(); + IMEMonitorHandlerReciever recv = e.getKey(); if ( recv.isValid( e.getValue() ) ) recv.postChange( change ); else diff --git a/parts/misc/PartStorageBus.java b/parts/misc/PartStorageBus.java index d07edc43..93a29ac7 100644 --- a/parts/misc/PartStorageBus.java +++ b/parts/misc/PartStorageBus.java @@ -22,7 +22,7 @@ import appeng.api.storage.IExternalStorageHandler; import appeng.api.storage.IMEInventory; import appeng.api.storage.IMEInventoryHandler; import appeng.api.storage.IMEMonitor; -import appeng.api.storage.IMEMontorHandlerReciever; +import appeng.api.storage.IMEMonitorHandlerReciever; import appeng.api.storage.StorageChannel; import appeng.api.storage.data.IAEItemStack; import appeng.client.texture.CableBusTextures; @@ -37,7 +37,7 @@ import cpw.mods.fml.common.Optional.Interface; import cpw.mods.fml.common.Optional.Method; @Interface(modid = "BuildCraft|Transport", iface = "buildcraft.api.transport.IPipeConnection") -public class PartStorageBus extends PartBasicState implements IGridTickable, ICellContainer, IMEMontorHandlerReciever, IPipeConnection +public class PartStorageBus extends PartBasicState implements IGridTickable, ICellContainer, IMEMonitorHandlerReciever, IPipeConnection { int priority = 0; diff --git a/tile/storage/TileChest.java b/tile/storage/TileChest.java index 919fcb09..3523ee1c 100644 --- a/tile/storage/TileChest.java +++ b/tile/storage/TileChest.java @@ -34,8 +34,8 @@ import appeng.api.storage.ICellHandler; import appeng.api.storage.IMEInventory; import appeng.api.storage.IMEInventoryHandler; import appeng.api.storage.IMEMonitor; -import appeng.api.storage.IMEMontorHandlerReciever; -import appeng.api.storage.MEMontorHandler; +import appeng.api.storage.IMEMonitorHandlerReciever; +import appeng.api.storage.MEMonitorHandler; import appeng.api.storage.StorageChannel; import appeng.api.storage.data.IAEItemStack; import appeng.api.storage.data.IAEStack; @@ -224,8 +224,8 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan boolean isCached = false; private ICellHandler cellHandler; - private MEMontorHandler icell; - private MEMontorHandler fcell; + private MEMonitorHandler icell; + private MEMonitorHandler fcell; @Override public IMEMonitor getItemInventory() @@ -239,7 +239,7 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan return fcell; } - class ChestNetNotifier> implements IMEMontorHandlerReciever + class ChestNetNotifier> implements IMEMonitorHandlerReciever { final StorageChannel chan; @@ -273,7 +273,7 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan }; - private MEMontorHandler wrap(IMEInventoryHandler h) + private MEMonitorHandler wrap(IMEInventoryHandler h) { if ( h == null ) return null; @@ -281,7 +281,7 @@ public class TileChest extends AENetworkPowerTile implements IMEChest, IFluidHan MEInventoryHandler ih = new MEInventoryHandler( h ); ih.myPriority = priority; - MEMontorHandler g = new MEMontorHandler( ih ); + MEMonitorHandler g = new MEMonitorHandler( ih ); g.addListener( new ChestNetNotifier( h.getChannel() ), g ); return g; diff --git a/util/Platform.java b/util/Platform.java index 77ee9ce1..7ad89ace 100644 --- a/util/Platform.java +++ b/util/Platform.java @@ -52,7 +52,7 @@ import appeng.api.implementations.IAEWrench; import appeng.api.networking.energy.IEnergySource; import appeng.api.networking.storage.IStorageGrid; import appeng.api.storage.IMEInventory; -import appeng.api.storage.IMEMontorHandlerReciever; +import appeng.api.storage.IMEMonitorHandlerReciever; import appeng.api.storage.StorageChannel; import appeng.api.storage.data.IAEFluidStack; import appeng.api.storage.data.IAEItemStack; @@ -1231,7 +1231,7 @@ public class Platform } } - static public > void postListChanges(IItemList before, IItemList after, IMEMontorHandlerReciever meMonitorPassthu) + static public > void postListChanges(IItemList before, IItemList after, IMEMonitorHandlerReciever meMonitorPassthu) { for (T is : before) is.setStackSize( -is.getStackSize() );