-
Please add some documentation how to invoke refaster on Windows. As a Windows developer it is okay to replace wget and similar shell commands in the example, however I had a very hard time figuring ou…
-
This happens on OpenRewrite 8.28.1
A JavaTemplate string such as `#{arg:any(java.util.Map)}` will not match the argument `Map.of("key", new Object[] {1,2,3})` for example.
### Workaround
Chan…
-
RE: https://twitter.com/foobarjet/status/1148700099331219456
We have these internally (in `TruthExhaustiveShortcuts` and scattered through the classes in the `truth` subpackage), but we haven't pub…
-
## What version of OpenRewrite are you using?
- OpenRewrite v8.24.0
- rewrite-migrate-java v2.12.0
## How are you running OpenRewrite?
I'm running `org.openrewrite.java.migrate.net.URLConstruc…
-
### Problem
In commit https://github.com/google/error-prone/commit/570f0bf23af457aa323b0efcd8e1ba182eddbb13 the `DescribeMatch` `BugChecker` got removed from Error Prone with the explanation that i…
-
### Description of the feature request:
Refaster writes serialized data into a file which then needs to be given to Error-Prone. As far as I could see it is nowhere documented whether this rule fil…
-
### 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
- [ ] Avoid a commo…
-
```java
private static boolean isTypeAllowed(String type) {
return Set.of("types").stream().filter(type::contains).collect(Collectors.toList()).isEmpty();
}
private static boolea…
-
Instead of Guava's [ByteStreams#toByteArray()](https://guava.dev/releases/19.0/api/docs/com/google/common/io/ByteStreams.html#toByteArray(java.io.InputStream)), [InputStream.html#readAllBytes](https:/…
-
## What problem are you trying to solve?
Just came across this finding from IntelliJ:
```java
String upperFoo = "FoO"
"foo".equals(upperFoo.toLowercase())
```
can be
```java
String upperFo…