Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Character.class java type for FieldType.CHAR #819

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
ishabandi67 authored Jun 6, 2024
commit c5bf6d426b7883c2cad63d4e740f214d2dc69913
2 changes: 1 addition & 1 deletion quickfixj-base/src/main/java/quickfix/FieldType.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public enum FieldType {

UNKNOWN,
STRING,
CHAR,
CHAR(Character.class),
PRICE(Double.class),
INT(Integer.class),
AMT(Double.class),
Expand Down