Commit 43cc263e authored by David Feliot's avatar David Feliot
Browse files

Constant renamed and bug fixed.

parent c113e43a
......@@ -43,7 +43,7 @@ public class EncodableFactoryRepository {
public static final int PROPERTIES_CLASS_ID = CLASS_ID_AREA + 3;
public static final int STRING_LIST_CLASS_ID = CLASS_ID_AREA + 4;
public static final int ENCODED_STRING_LIST_CLASS_ID = CLASS_ID_AREA + 4;
public static final int ENCODABLE_INTEGER_CLASS_ID = CLASS_ID_AREA + 5;
......@@ -53,7 +53,7 @@ public class EncodableFactoryRepository {
repository.put(EncodableFactoryRepository.ENCODED_STRING_CLASS_ID, new EncodedString.Factory());
repository.put(EncodableFactoryRepository.SERIALIZABLE_WRAPPER_CLASS_ID, new SerializableWrapper.Factory());
repository.put(EncodableFactoryRepository.STRING_PAIR_CLASS_ID, new StringPair.Factory());
repository.put(EncodableFactoryRepository.STRING_LIST_CLASS_ID, new EncodedStringList.Factory());
repository.put(EncodableFactoryRepository.ENCODED_STRING_LIST_CLASS_ID, new EncodedStringList.Factory());
repository.put(EncodableFactoryRepository.ENCODABLE_INTEGER_CLASS_ID, new EncodableInteger.Factory());
}
......
......@@ -38,7 +38,7 @@ public class EncodedStringList implements Serializable, Encodable {
}
public int getEncodableClassId() {
return EncodableFactoryRepository.ENCODED_STRING_CLASS_ID;
return EncodableFactoryRepository.ENCODED_STRING_LIST_CLASS_ID;
}
public int getEncodedSize() throws Exception {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment