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

Upgrade errorprone to 2.12.1 (from 2.11.0) #2181

Merged
merged 6 commits into from
Apr 6, 2022

Conversation

@carterkozak carterkozak requested a review from fawind April 6, 2022 14:40
@changelog-app
Copy link

changelog-app bot commented Apr 6, 2022

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Upgrade errorprone to 2.12.1 (from 2.11.0)

Check the box to generate changelog(s)

  • Generate changelog entry

Copy link
Contributor

@schlosna schlosna left a comment

Choose a reason for hiding this comment

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

@@ -173,7 +173,9 @@ private static void configureErrorProneOptions(
"CatchSpecificity",
"InlineMeSuggester",
"PreferImmutableStreamExCollections",
"UnusedVariable");
"UnusedVariable",
// We don't use 'var' yet
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// We don't use 'var' yet
// We don't use 'var' yet, see VarUsage

"UnusedVariable");
"UnusedVariable",
// We don't use 'var' yet
"Varifier");
Copy link
Contributor

Choose a reason for hiding this comment

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

more explicitly, https://github.com/palantir/gradle-baseline/blob/develop/baseline-error-prone/src/main/java/com/palantir/baseline/errorprone/VarUsage.java throws error: [VarUsage] The var keyword results in illegible code in most cases and should not be used. so conflicts with Varifier

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍 good call, I've described the rationale in the comment

@bulldozer-bot bulldozer-bot bot merged commit 391fdda into develop Apr 6, 2022
@bulldozer-bot bulldozer-bot bot deleted the ckozak/errorprone_2.12.1 branch April 6, 2022 15:49
@svc-autorelease
Copy link
Collaborator

Released 4.98.0

bulldozer-bot bot pushed a commit to palantir/witchcraft-api that referenced this pull request Apr 6, 2022
###### _excavator_ is a bot for automating changes across repositories.

Changes produced by the roomba/latest-baseline-oss check.

# Release Notes
## 4.97.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Fix | Fix errorprone excluded-path regex on Windows | palantir/gradle-baseline#2178 |


## 4.98.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Improvement | Upgrade errorprone to 2.12.1 (from 2.11.0) | palantir/gradle-baseline#2181, https://github.com/google/error-prone/releases/tag/v2.12.0, https://github.com/google/error-prone/releases/tag/v2.12.1 |



To enable or disable this check, please contact the maintainers of Excavator.
This was referenced Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants