Martin Ross
Martin Ross
## What is the smallest, simplest way to reproduce the problem? ```java class A { void foo() { var a = new HashMap(); Optional.of((Map)a) .filter(Predicate.not(Map::isEmpty)); } } ``` ## What...
## What is the smallest, simplest way to reproduce the problem? ```java class A { void foo() { LinkedHashMap expectedMap = new LinkedHashMap() {{ put("a", 1); put("testArrayList", new ArrayList() {{...
org.openrewrite.staticanalysis.AvoidBoxedBooleanExpressions does not understand @NonNull annotations
## What is the smallest, simplest way to reproduce the problem? ```java import lombok.@NonNull class A { void foo(@NonNull Boolean b) { if(b) { } } ``` ## What did...
## What problem are you trying to solve? Many style guides such as Google's impost maximum column limits (https://google.github.io/styleguide/javaguide.html#s4.4-column-limit). There is tooling such as Checkstyle that enforces these limits. https://checkstyle.sourceforge.io/checks/sizes/linelength.html...
Please provide: - Link to build log from https://jitpack.io https://jitpack.io/com/github/provectus/kafka-ui/v0.7.2/build.log - Does the project build on your machine with **the same** commands (e.g. ./gradlew install) ? - What error are...
https://jspecify.dev/docs/applying/
1.0 is out now! https://jspecify.dev/blog/ This could be done incrementally but ideally full conformance with https://jspecify.dev/docs/spec/ via https://jspecify.dev/docs/api/org/jspecify/annotations/package-summary.html
## What problem are you trying to solve? Easy of configuration for initial users ## Describe the solution you'd like https://github.com/openrewrite/rewrite-gradle-plugin/blob/459570d8ec7cc874df8802bb3d326b3d3446047e/plugin/src/main/java/org/openrewrite/gradle/isolated/DefaultProjectParser.java#L1340-L1353 has the code to load checkfile config files. It...
## What problem are you trying to solve? Reduce friction to using OpenRewrite ## Describe the solution you'd like https://docs.openrewrite.org/running-recipes/running-rewrite-on-a-gradle-project-without-modifying-the-build#step-3-optional-create-a-custom-declarative-recipe Right now the only way to pass parameters to recipes...
```java import lombok.NonNull; class Foo { @NonNull boolean bar; } ``` This should be fixed to ```java class Foo { boolean bar; } ``` Support all https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html