Skip to content
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

Fix Slf4jLoggerDeclaration flag name #1436

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Conversation

Stephan202
Copy link
Member

@Stephan202 Stephan202 commented Nov 24, 2024

Suggested commit message:

Fix `Slf4jLoggerDeclaration` flag name (#1436)

@@ -53,7 +53,7 @@ public final class Slf4jLoggerDeclaration extends BugChecker implements Variable
private static final Matcher<ExpressionTree> IS_GET_LOGGER =
staticMethod().onDescendantOf("org.slf4j.LoggerFactory").named("getLogger");
private static final String CANONICAL_STATIC_LOGGER_NAME_FLAG =
"Slf4jLogDeclaration:CanonicalStaticLoggerName";
"Slf4jLoggerDeclaration:CanonicalStaticLoggerName";
Copy link
Member Author

Choose a reason for hiding this comment

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

At some point we should likely write an error prone check that validates this :)

@Stephan202
Copy link
Member Author

This change was split off from #1426; let's merge this PR first.

Copy link

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

@Stephan202 Stephan202 force-pushed the sschroevers/align-flag-name branch from ad3faf6 to f658beb Compare November 24, 2024 13:53
Copy link

Looks good. No mutations were possible for these changes.
Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

Copy link
Contributor

@mohamedsamehsalah mohamedsamehsalah left a comment

Choose a reason for hiding this comment

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

Thanks @Stephan202 ❤️

@Stephan202 Stephan202 merged commit d531ceb into master Nov 25, 2024
16 checks passed
@Stephan202 Stephan202 deleted the sschroevers/align-flag-name branch November 25, 2024 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants