From 7ff54c6831c9cdda0f92bfa9d681ad4ec36dadb0 Mon Sep 17 00:00:00 2001 From: yueh Date: Mon, 29 Sep 2014 15:25:48 +0200 Subject: [PATCH] Fixed typo in SyncData --- src/main/java/appeng/container/AEBaseContainer.java | 8 ++++---- .../container/guisync/{SyncDat.java => SyncData.java} | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) rename src/main/java/appeng/container/guisync/{SyncDat.java => SyncData.java} (97%) diff --git a/src/main/java/appeng/container/AEBaseContainer.java b/src/main/java/appeng/container/AEBaseContainer.java index 7a939dd7..df9bd94a 100644 --- a/src/main/java/appeng/container/AEBaseContainer.java +++ b/src/main/java/appeng/container/AEBaseContainer.java @@ -41,7 +41,7 @@ import appeng.api.storage.data.IAEItemStack; import appeng.client.me.InternalSlotME; import appeng.client.me.SlotME; import appeng.container.guisync.GuiSync; -import appeng.container.guisync.SyncDat; +import appeng.container.guisync.SyncData; import appeng.container.slot.SlotInaccessible; import appeng.core.AELog; import appeng.core.sync.network.NetworkHandler; @@ -554,7 +554,7 @@ public abstract class AEBaseContainer extends Container detectAndSendChanges(); } - HashMap syncData = new HashMap(); + HashMap syncData = new HashMap(); @Override public void detectAndSendChanges() @@ -567,7 +567,7 @@ public abstract class AEBaseContainer extends Container { ICrafting icrafting = (ICrafting) this.crafters.get( i ); - for (SyncDat sd : syncData.values()) + for (SyncData sd : syncData.values()) sd.tick( icrafting ); } } @@ -616,7 +616,7 @@ public abstract class AEBaseContainer extends Container if ( syncData.containsKey( annotation.value() ) ) AELog.warning( "Channel already in use: " + annotation.value() + " for " + f.getName() ); else - syncData.put( annotation.value(), new SyncDat( this, f, annotation ) ); + syncData.put( annotation.value(), new SyncData( this, f, annotation ) ); } } } diff --git a/src/main/java/appeng/container/guisync/SyncDat.java b/src/main/java/appeng/container/guisync/SyncData.java similarity index 97% rename from src/main/java/appeng/container/guisync/SyncDat.java rename to src/main/java/appeng/container/guisync/SyncData.java index 004ed8c5..3493151e 100644 --- a/src/main/java/appeng/container/guisync/SyncDat.java +++ b/src/main/java/appeng/container/guisync/SyncData.java @@ -12,7 +12,7 @@ import appeng.core.sync.network.NetworkHandler; import appeng.core.sync.packets.PacketProgressBar; import appeng.core.sync.packets.PacketValueConfig; -public class SyncDat +public class SyncData { private Object clientVersion; @@ -22,7 +22,7 @@ public class SyncDat private int channel; - public SyncDat(AEBaseContainer container, Field field, GuiSync annotation) { + public SyncData(AEBaseContainer container, Field field, GuiSync annotation) { clientVersion = null; this.source = container; this.field = field;