-
While the Hamcrest repo is still [active](https://github.com/hamcrest/JavaHamcrest/commits/master), the latest release is from [Oct 16, 2019 ](https://github.com/hamcrest/JavaHamcrest/tags)
I thi…
-
There's no shortage of nullability annotations; we even have our own, which are [not always consistently applied](https://github.com/openrewrite/rewrite/pull/2835).
Lombok has a decent [list of mostl…
-
As [reported on Slack](https://rewriteoss.slack.com/archives/C01A843MWG5/p1721726228694759) by @wabrit
> I have a composite recipe which makes some changes to a POM; the source POM declares a depe…
-
## What problem are you trying to solve?
Suppose you want to add a dependency to a Maven project, but only if some other condition is true in the `pom.xml`.
You might try something like this:
`…
-
I ran `org.openrewrite.java.migrate.UpgradeToJava21` in moderne.io (https://app.moderne.io/results/gIKdjKpB8)
I scrolled through diff, I found a change inside `build.gradle`:
```diff
- implem…
-
## What version of OpenRewrite are you using?
I am using
```
mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \
-Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-logging-fr…
-
* JDK: 17
* JMockit Version number: 1.49
Some unit tests throw ArrayIndexOutOfBoundsException when using
newest version 0.8.11 of the JaCoCo plugin. An older version of JaCoCo plugin like 0.8.3 w…
-
## What problem are you trying to solve?
I'm converting JUnit assertions to AssertJ assertions.
## Describe the solution you'd like
In the example here - https://docs.openrewrite.org/recipes/ja…
-
As seen on [SimplifyMicrometerMeterTags](https://github.com/openrewrite/rewrite-migrate-java/blob/53f843af6f90eedf2e305d58c2a0a2b3a4b3121a/src/main/java/org/openrewrite/java/migrate/metrics/SimplifyMi…
-
Guava can cause issues when a single Eclipse runtime has multiple different versions.
A long time ago we already tried to isolate our use of it to internals, and not expose Guava-provided values in o…