-
Notifications
You must be signed in to change notification settings - Fork 39
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
Conversation
@@ -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"; |
There was a problem hiding this comment.
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 :)
This change was split off from #1426; let's merge this PR first. |
Looks good. No mutations were possible for these changes. |
ad3faf6
to
f658beb
Compare
Looks good. No mutations were possible for these changes. |
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Stephan202 ❤️
Suggested commit message: