diff --git a/core/src/com/riiablo/item/Item.java b/core/src/com/riiablo/item/Item.java index e41a8f5c..6f762059 100644 --- a/core/src/com/riiablo/item/Item.java +++ b/core/src/com/riiablo/item/Item.java @@ -30,11 +30,11 @@ public class Item { private static final boolean SIMPLE_FLAGS = !true; private static final boolean ONLY_KNOWN_FLAGS = SIMPLE_FLAGS && true; - private static final ItemSerializer DEFAULT_SERIALIZER = new ItemSerializer(); + private static final ItemReader DEFAULT_SERIALIZER = new ItemReader(); private static final ItemLabeler DEFAULT_LABELER = new ItemLabeler(); /** - * @deprecated use {@link ItemSerializer#readItem(ByteInput)} instead! + * @deprecated use {@link ItemReader#readItem(ByteInput)} instead! */ @Deprecated public static Item loadFromStream(BitStream bitStream) { diff --git a/core/src/com/riiablo/item/ItemSerializer.java b/core/src/com/riiablo/item/ItemReader.java similarity index 98% rename from core/src/com/riiablo/item/ItemSerializer.java rename to core/src/com/riiablo/item/ItemReader.java index 5c4d7ac2..eaa2bfa8 100644 --- a/core/src/com/riiablo/item/ItemSerializer.java +++ b/core/src/com/riiablo/item/ItemReader.java @@ -12,8 +12,8 @@ import com.riiablo.io.ByteInput; import com.riiablo.log.Log; import com.riiablo.log.LogManager; -public class ItemSerializer { - private static final Logger log = LogManager.getLogger(ItemSerializer.class); +public class ItemReader { + private static final Logger log = LogManager.getLogger(ItemReader.class); private static final byte[] SIGNATURE = {0x4A, 0x4D};