Renamed ItemSerializer to ItemReader to allow room for ItemWriter counterpart

This commit is contained in:
Collin Smith 2020-08-13 17:43:55 -07:00
parent a3073167a6
commit 1fcd8b7a4d
2 changed files with 4 additions and 4 deletions

View File

@ -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) {

View File

@ -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};