Skip to content

Do not throw IncorrectDataFormat exception if value is empty and ValidateFieldsHaveValues=N#207

Merged
chrjohn merged 3 commits intoquickfix-j:masterfrom
jonfreedman:value-is-empty
Aug 2, 2018
Merged

Do not throw IncorrectDataFormat exception if value is empty and ValidateFieldsHaveValues=N#207
chrjohn merged 3 commits intoquickfix-j:masterfrom
jonfreedman:value-is-empty

Conversation

@jonfreedman
Copy link
Contributor

No description provided.

Flipped operands of if-clause to avoid testing each field's length when checkFieldsHaveValues is enabled (should be the normal case)
(length has already been tested before in checkHasValue()).
@chrjohn chrjohn merged commit c790dac into quickfix-j:master Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants