Skip to content

fix ignored exceptions #35047

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Pankraz76
Copy link

@Pankraz76 Pankraz76 commented Jun 13, 2025

avoid round abound and just name it ignored like commonly suggested by static code analysis PMD and IDEA.

its already the pattern so just complain:

image

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jun 13, 2025
@Pankraz76 Pankraz76 force-pushed the fix-ignored-exceptions branch from 1e3ec20 to 8eacca1 Compare June 13, 2025 10:01
@Pankraz76 Pankraz76 marked this pull request as ready for review June 13, 2025 10:01
@Pankraz76 Pankraz76 marked this pull request as draft June 13, 2025 10:18
}
catch (NullPointerException ex) {
Copy link
Author

Choose a reason for hiding this comment

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

image

Copy link
Author

Choose a reason for hiding this comment

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

thats why its important to have empty blocks inline.

Copy link
Author

@Pankraz76 Pankraz76 Jun 13, 2025

Choose a reason for hiding this comment

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

as this so important should give this special attention then. @bclozel

its not about the close as thats the same but about the catch as this seems to differ.

@Pankraz76 Pankraz76 force-pushed the fix-ignored-exceptions branch from 3c9ff87 to 333af51 Compare June 13, 2025 10:27
@Pankraz76 Pankraz76 marked this pull request as ready for review June 13, 2025 10:29
@Pankraz76 Pankraz76 force-pushed the fix-ignored-exceptions branch from 333af51 to d5ceb68 Compare June 13, 2025 14:03
Signed-off-by: Vincent Potucek <[email protected]>
@Pankraz76 Pankraz76 force-pushed the fix-ignored-exceptions branch from d5ceb68 to e6c4c5f Compare June 13, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged or decided on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants