Skip to content

SONARJAVA-4543 S5778 does not report on final enum methods#5131

Merged
leonardo-pilastri-sonarsource merged 4 commits intomasterfrom
lp/SONARJAVA-4543
May 8, 2025
Merged

SONARJAVA-4543 S5778 does not report on final enum methods#5131
leonardo-pilastri-sonarsource merged 4 commits intomasterfrom
lp/SONARJAVA-4543

Conversation

@leonardo-pilastri-sonarsource
Copy link
Copy Markdown
Contributor

@leonardo-pilastri-sonarsource leonardo-pilastri-sonarsource commented May 7, 2025

.addParametersMatcher("java.lang.Class").addParametersMatcher("java.lang.Class", "java.lang.String")
.build();
private static final MethodMatchers AUTHORIZED_METHODS = MethodMatchers.or(FAIL_METHOD_MATCHER, MOCKITO_MOCK_METHOD_MATCHERS);
private static final MethodMatchers ENUM_FINAL_METHODS = MethodMatchers.create()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Let's separate multiline constants by blank lines.

@leonardo-pilastri-sonarsource leonardo-pilastri-sonarsource merged commit 5b4f8f3 into master May 8, 2025
14 of 15 checks passed
@leonardo-pilastri-sonarsource leonardo-pilastri-sonarsource deleted the lp/SONARJAVA-4543 branch May 8, 2025 10:05
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.

2 participants