Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

darth-raijin
Copy link
Contributor

Changes:

  • A comment line was unecessarily split, this PR seeks to improve the readability and clean that line comment up

Signed-off-by: Mohamed Macow <[email protected]>
@fmbenhassine
Copy link
Contributor

This formatting is done by the spring-javaformat plugin, you can try it with: ./mvnw spring-javaformat:apply.

But we can make that comment more readable with something like:

// the manager sent 2 chunks ({1, 2, 3} and {4, 5, 6}) to workers
assertEquals("Waited for 2 results.", jobExecution.getExitStatus().getExitDescription());

If you update the PR accordingly, it should be good to merge.

@fmbenhassine fmbenhassine added pr-for: enhancement status: waiting-for-reporter Issues for which we are waiting for feedback from the reporter labels Jun 3, 2025
@darth-raijin
Copy link
Contributor Author

Alright, thank you for explaining how the formatting was done!

After the suggested change, we have landed on this:

// then
// the manager sent 2 chunks ({1, 2, 3} and {4, 5, 6}) to workers
assertEquals(ExitStatus.COMPLETED.getExitCode(), jobExecution.getExitStatus().getExitCode());

However it could also look like below, which should be more readable as well, and plays well into the given, when and then

// then the manager sent 2 chunks ({1, 2, 3} and {4, 5, 6}) to workers
assertEquals(ExitStatus.COMPLETED.getExitCode(), jobExecution.getExitStatus().getExitCode());

@fmbenhassine fmbenhassine added status: feedback-provided Issues for which the feedback requested from the reporter was provided and removed status: waiting-for-reporter Issues for which we are waiting for feedback from the reporter labels Jun 4, 2025
@fmbenhassine fmbenhassine merged commit cb4674d into spring-projects:main Jul 20, 2025
1 check passed
@fmbenhassine fmbenhassine changed the title Correct comment in test examples Correct comment in RemoteChunkingJobFunctionalTests Jul 20, 2025
@fmbenhassine fmbenhassine added this to the 6.0.0-M1 milestone Jul 20, 2025
@fmbenhassine fmbenhassine added for: backport-to-5.2.x Issues that will be back-ported to the 5.2.x line and removed status: feedback-provided Issues for which the feedback requested from the reporter was provided labels Jul 20, 2025
fmbenhassine pushed a commit that referenced this pull request Sep 17, 2025
Streamline comment to be more readable

Signed-off-by: Mohamed Macow <[email protected]>
(cherry picked from commit cb4674d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: backport-to-5.2.x Issues that will be back-ported to the 5.2.x line pr-for: enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants