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

Automatically fix AssertNoArgs #1967

Merged
merged 2 commits into from
Nov 9, 2021
Merged

Conversation

carterkozak
Copy link
Contributor

After this PR

==COMMIT_MSG==
Automatically fix AssertNoArgs
==COMMIT_MSG==

Possible downsides?

Some risk that this will flag projects on older versions of safe-logging if baseline upgrades first. In that case, we'd still be producing warnings, so either way isn't ideal.

@carterkozak carterkozak requested a review from pkoenig10 November 9, 2021 15:34
@changelog-app
Copy link

changelog-app bot commented Nov 9, 2021

Generate changelog in changelog/@unreleased

Type

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

Description

Automatically fix AssertNoArgs

Check the box to generate changelog(s)

  • Generate changelog entry

@bulldozer-bot bulldozer-bot bot merged commit 76a97d3 into develop Nov 9, 2021
@bulldozer-bot bulldozer-bot bot deleted the ckozak/fix_AssertNoArgs branch November 9, 2021 16:26
@svc-autorelease
Copy link
Collaborator

Released 4.40.0

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

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

# Release Notes
## 4.38.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Improvement | Improve Zero Warmup Rate Limiter to Catch Int Literals | palantir/gradle-baseline#1960 |


## 4.39.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Fix | The `com.palantir.baseline-java-versions` plugin requires gradle 7 and fails eagerly on older versions. Previously it would cause non-obvious failures later depending on task execution. | palantir/gradle-baseline#1965 |
| Feature | Add Error Prone check to prefer `hasNoArgs` on service exception asserts and loggable exception asserts. | palantir/gradle-baseline#1966 |


## 4.40.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Improvement | Automatically fix AssertNoArgs | palantir/gradle-baseline#1967 |



To enable or disable this check, please contact the maintainers of Excavator.
This was referenced Nov 9, 2021
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.

4 participants