-
Notifications
You must be signed in to change notification settings - Fork 134
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
Add BugCheckerAutoService #2028
Conversation
Concrete BugChecker implementations should be annotated `@AutoService(BugChecker.class)` for auto registration with error-prone.
Generate changelog in
|
summary = "Concrete BugChecker implementations should be annotated " | ||
+ "`@AutoService(BugChecker.class)` for auto registration with error-prone.", | ||
severity = SeverityLevel.ERROR, | ||
tags = StandardTags.PERFORMANCE) |
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.
I don’t think this is a perf issue :-)
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.
doh, copy pasted that block
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.
Lgtm, feel free to merge after removing the perf tag. Thanks!
Released 4.56.0 |
###### _excavator_ is a bot for automating changes across repositories. Changes produced by the roomba/latest-baseline-oss check. # Release Notes ## 4.56.0 | Type | Description | Link | | ---- | ----------- | ---- | | Improvement | Add BugCheckerAutoService<br><br>Concrete BugChecker implementations should be annotated<br>`@AutoService(BugChecker.class)` for auto registration with error-prone. | palantir/gradle-baseline#2028 | To enable or disable this check, please contact the maintainers of Excavator.
Before this PR
If a BugChecker is not annotated as
@AutoService(BugChecker.class)
it will not be registered with error-prone as an available bug pattern (see #2024 & #2026).After this PR
==COMMIT_MSG==
Add BugCheckerAutoService
Concrete BugChecker implementations should be annotated
@AutoService(BugChecker.class)
for auto registration with error-prone.==COMMIT_MSG==
Possible downsides?