Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
joram
joram
Commits
43cc263e
Commit
43cc263e
authored
Feb 27, 2014
by
David Feliot
Browse files
Constant renamed and bug fixed.
parent
c113e43a
Changes
2
Hide whitespace changes
Inline
Side-by-side
joram/a3/common/src/main/java/fr/dyade/aaa/common/encoding/EncodableFactoryRepository.java
View file @
43cc263e
...
...
@@ -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
());
}
...
...
joram/a3/common/src/main/java/fr/dyade/aaa/common/encoding/EncodedStringList.java
View file @
43cc263e
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment