Skip to content

Commit c5bf6d4

Browse files
authored
Add Character.class java type for FieldType.CHAR
While parsing a rawstring back to a quickfix.Message object, CHAR fields are created as StringField because it String.java is the default javaType. All other primitive types have their wrapper classes defined except CHAR.
1 parent 32a3f8d commit c5bf6d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quickfixj-base/src/main/java/quickfix/FieldType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public enum FieldType {
3030

3131
UNKNOWN,
3232
STRING,
33-
CHAR,
33+
CHAR(Character.class),
3434
PRICE(Double.class),
3535
INT(Integer.class),
3636
AMT(Double.class),

0 commit comments

Comments
 (0)