error-prone-support icon indicating copy to clipboard operation
error-prone-support copied to clipboard

Error Prone extensions: extra bug checkers and a large battery of Refaster rules.

Results 46 error-prone-support issues
Sort by recently updated
recently updated
newest added

### Problem As @EnricSala mentioned in https://github.com/PicnicSupermarket/error-prone-support/issues/364, we might want to investigate rewriting `Optional.of(A).orElse(B)` to `requireNonNull(A)`. This will probably require a `BugChecker` as we probably want to provide two fixes,...

good first issue
new feature

~**Edit:** PR #603 was spun off from this PR. That change should be merged and finalized first.~ Suggested commit message: ``` Update all tests to use text blocks (#198) All...

improvement

Suggested commit message: ``` Introduce `ExplicitArgumentEnumeration` check (#985) ``` I found this on an old branch from early last year. Extended it a bit and now putting it up for...

Running the `JUnitToAssertJRules` across some code I noticed that `AssertThatIsTrue` and `AssertThatIsFalse` transformed some JUnit `assertTrue()` and `assertFalse()` calls: It seems like it would be a nice addition to have...

new feature

### Problem Duplicate entries inside annotation listing are a common mistake that should be flagged. ### Description of the proposed new feature - [x] Support a stylistic preference. - [x]...

new feature

The BugChecker flags JUnit factory methods which do not have a comment with the parameter names of the test method, or which do not follow the naming convention of suffixing...

new feature

### Problem I would like to make some suggestions required for my team by changing the default severity level for them. ### Description of the proposed new feature - [...

new feature

it is safer to avoid injecting reference to non-existing APIs but from CI, it causes some issues in the current advanced setup

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [Maven API](https://maven.apache.org/) | compile | patch | `3.9.5` -> `3.9.6` | --- ###...

dependencies
pause renovate

### Problem According to the [Google Java Format Style guide](https://google.github.io/styleguide/javaguide.html) constants names [should use](https://google.github.io/styleguide/javaguide.html#s5.2.4-constant-names) `UPPER_SNAKE_CASE`. There is a [`ConstantField`](http://errorprone.info/bugpattern/ConstantField) check in Error Prone that does the following: > When naming...

good first issue
new feature