Skip to content

Conversation

@izeye
Copy link
Contributor

@izeye izeye commented Dec 28, 2025

This PR changes to use static imports for Assertions.assertThat() consistently where possible.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 28, 2025
Copy link
Member

@snicoll snicoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. We are not using the static import in assert implementations (main code). I think we should keep it this way. WDYT?

@izeye
Copy link
Contributor Author

izeye commented Dec 28, 2025

@snicoll Thanks for the feedback!

I don't have a strong opinion on it. I just thought that it's prefered based on the following changes: 90faddf#diff-e9d603edb2e72b3fc962233b6ae08d6391b61bb776bc86ce2039df7860f05866R233

@snicoll
Copy link
Member

snicoll commented Dec 29, 2025

Good point, I remember reviewing this and then going with it as the OP is an AssertJ maintainer but I think we may want to reconsider this. I'll flag for team attention to get more feedback.

@snicoll snicoll added for: team-attention An issue we'd like other members of the team to review type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Dec 29, 2025
@snicoll snicoll added this to the 3.5.x milestone Dec 29, 2025
@Pankraz76
Copy link

Pankraz76 pushed a commit to Pankraz76/spring-boot that referenced this pull request Dec 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

for: team-attention An issue we'd like other members of the team to review type: task A general task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants