Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove unnecessary reflection in RemoteChunkHandlerFactoryBean #4839

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

Merged
fmbenhassine merged 1 commit into spring-projects:main from scordio:remove-reflection
Jun 3, 2025

Conversation

Copy link
Contributor

@scordio scordio commented May 9, 2025
edited
Loading

Since #173, TaskletStep exposes getTasklet(), making reflection in RemoteChunkHandlerFactoryBean unnecessary.

In addition, the instanceof check can be simplified to a null check as the step field is already of type TaskletStep.

Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com>
Copy link
Contributor

This is great! Thank you for your contribution 👍

@fmbenhassine fmbenhassine merged commit 3f0857b into spring-projects:main Jun 3, 2025
1 of 2 checks passed
@scordio scordio deleted the remove-reflection branch June 3, 2025 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
for: backport-to-5.2.x Issues that will be back-ported to the 5.2.x line in: integration pr-for: enhancement
Projects
None yet
Milestone
6.0.0-M1
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /