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

DefaultFieldSetFactory is not setting the numberFormat in the enhance() call [BATCH-1587] #1999

Closed
spring-issuemaster opened this issue Jun 24, 2010 · 0 comments
Milestone

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Jun 24, 2010

Martin Ahrer opened BATCH-1587 and commented

enhance is testing for (numberFormat!=null) but then calling fieldSet.setDateFormat(dateFormat);

private FieldSet enhance(DefaultFieldSet fieldSet) {
	if (dateFormat!=null) {
		fieldSet.setDateFormat(dateFormat);
	}
	if (numberFormat!=null) {
		fieldSet.setDateFormat(dateFormat);
	}	
	return fieldSet;
}

Affects: 2.1.1

Attachments:

Referenced from: commits 4ef5de3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.