Skip to content

Cleanup: merge nested ifs#3231

Merged
hazendaz merged 2 commits intospotbugs:masterfrom
JuditKnoll:if_merge
Dec 22, 2024
Merged

Cleanup: merge nested ifs#3231
hazendaz merged 2 commits intospotbugs:masterfrom
JuditKnoll:if_merge

Conversation

@JuditKnoll
Copy link
Copy Markdown
Collaborator

Merging nested ifs, where possible and seemed logical. This PR doesn't fix all of these type of issues, only those where I found it increases the readability.

See in SonarCloud: https://sonarcloud.io/project/issues?rules=java%3AS1066&issueStatuses=OPEN%2CCONFIRMED&id=com.github.spotbugs.spotbugs&open=AVzpuz3QZm7fF7LkQ5w_

@hazendaz hazendaz added this to the SpotBugs 4.9.0 milestone Dec 22, 2024
@hazendaz hazendaz merged commit 359abc9 into spotbugs:master Dec 22, 2024
@JuditKnoll JuditKnoll deleted the if_merge branch January 2, 2025 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants