-
### Problem
> UseFilesCreateTempDirectory should remove the unnecessary `assert(true)` statement.
### Example diff
```diff
}
private File createGitCommit(String jobName) throws…
-
**Describe the bug**
SBM fails when I start with command `java -jar spring-boot-migrator.jar`
**To Reproduce**
Steps to reproduce the behavior:
1. Go to https://github.com/spring-projects-experi…
-
### Problem
Should not append `null` to string.
### Expected behavior
Should instead generate the following code:
```java
Files.createTempDirectory("dojo_web_builder").toFile()
```
##…
-
**Describe the bug**
I have a big multi-module gradle project, with Gradle Automatic Project Synchronization enabled.
Since the update to latest Eclipse 4.19.0.RELEASE, I noticed very high CPU loa…
-
Hi,
I want to import the given param for the annotation `@Scope(ConfigurableBeanFactory.SCOPE_SINGLETON)`
My visitor has to do the following action:
- Remove @Singleton: OK
- Add @Scope an…
-
### Problem
The recipe [Use `Files#createTempDirectory`](https://public.moderne.io/recipes/org.openrewrite.java.security.UseFilesCreateTempDirectory), we are replacing `assertTrue(dir.delete())` and …
-
There's a hint from @BoykoAlex in this https://github.com/openrewrite/rewrite-spring/pull/202#issuecomment-1155782542
> I have pushed the revised version of the Recipe to play it safe when non applic…
-
### Problem
`src/main/java/io/github/karlatemp/publicationsign/signerimpl/GpgSignerImpl.java`
> Remove unnecessary statements in the block when removing the guard from a return statement
### Expe…
-
Fix recipes and tests broken by https://github.com/openrewrite/rewrite/pull/1755 which added TypeValidation to the JavaTemplate
-
In my early life as a java beginning, I sometimes mis-use ==/!=, such like the following code.
```
User user = getFromDb(xxx);
if (user == null) {
}
if (user != null) {
}
```
Typing `if (u…