Skip to content

Return objects directly instead of assigning to temporary variable#3175

Merged
JuditKnoll merged 2 commits intospotbugs:masterfrom
JuditKnoll:return_assign
Oct 30, 2024
Merged

Return objects directly instead of assigning to temporary variable#3175
JuditKnoll merged 2 commits intospotbugs:masterfrom
JuditKnoll:return_assign

Conversation

@JuditKnoll
Copy link
Copy Markdown
Collaborator

Fixing "Immediately return this expression instead of assigning it to temporary variable" issues.

@JuditKnoll JuditKnoll merged commit 39959e8 into spotbugs:master Oct 30, 2024
@JuditKnoll JuditKnoll deleted the return_assign branch October 30, 2024 10:28
@hazendaz hazendaz added this to the SpotBugs 4.9.0 milestone Oct 31, 2024
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.

4 participants