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

BatchListenerFactoryHelper: two if-statements, identical conditions [BATCH-1012] #2564

Closed
spring-issuemaster opened this issue Jan 23, 2009 · 1 comment
Milestone

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Jan 23, 2009

Dan Garrette opened BATCH-1012 and commented

The conditions in the following are identical. The patch turns this into one if-statement.

if (listener instanceof ChunkListener) {
hasChunkListener = true;
}
if (listener instanceof ChunkListener) {
multicaster.register((ChunkListener) listener);
}


Affects: 2.0.0.M3

Attachments:

Referenced from: commits 822f8bb, 8bdccb2

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Jan 25, 2009

Robert Kasanicky commented

patch applied

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.