-
[okhttp](https://github.com/openrewrite/rewrite/blob/665e8a0f65755baee280ae490d80a37fc5540eea/rewrite-maven/build.gradle.kts#L42) is pinned to 4.9.3 per: #1479
https://mvnrepository.com/artifact/c…
-
### Problem
> Describe the issue you are experiencing.
### Expected behavior
> Describe what you expected to see.
### Example diff
**From:** `maths/pollard_rho.py`
```diff
# the t…
-
### Problem
This changes the behaviour of the codebase by removing the `self` reference.
### Expected behavior
`self` should not be removed
### Example diff
**From:** `django/core/handler…
-
The following template:
```java
public static class MigrateAssertEqualsFloatArrayDelta {
@BeforeTemplate void before(float[] actual, float[] expected, float delta) {
As…
-
```diff
- String content = new StringBuilder()
- .append(Localization.lang("A backup file for '%0' was found at [%1]",
+ String content = Localization.lang("A backup fi…
-
## What problem are you trying to solve?
When modifying Java code the safest and often easiest way is to use `JavaTemplate`. For Kotlin this is currently not possible, because `JavaTemplate` uses a…
-
## What version of OpenRewrite are you using?
I am using openrewrite-maven-plugin 5.11.0 with rewrite-spring 5.1.1
## How are you running OpenRewrite?
I am using the Maven plugin. Apologies, my p…
-
It's a bit meta, but I would be useful to have a maven recipe that allows adding a specific recipe automatically, conditioned by the presence of a specific dependency in classpath.
As a bonus, until …
-
## 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…
-
## What problem are you trying to solve?
The String constructor of `BigDecimal` is much nicer than `BigDecimal.valueOf(doubleLiteral)` because
- two chars shorter (even shorter if the double l…