-
This could be a good transformation to add :
`assertEquals(a, null)`
Could be replaced with `assertNull(a)`
Example :
```
@Test
void myTest(){
String a = null;
assertEquals(a,…
-
Good afternoon,
Unfortunately the problem I reported in [issue 1427 ](https://github.com/openrewrite/rewrite/issues/1427) has not been solved, I have validated the solution with version 4.21.0-SNA…
-
Is it possible to add XML comments within a POM xml file?
For example, the use case would be to detect the presence of a maven dependency, and in that case add an XML comment associated to that dep…
-
Good afternoon,
With version 7.19.0 a failure is occurring when you try to parse the project POM.
```
[INFO] --- rewrite-maven-plugin:4.20.0:dryRun (default-cli) @ test-project ---
[INFO] Usi…
-
### Problem
`` isn't indented correctly. Also this shouldn't resort all tags. Note that the source encoding tag got bumped to the end of the set of properties here.
cc / @tkvangorder
### Exa…
-
### Problem
`SecureTempFileCreation` fixes wrong problem in the presence of insecure temporary directory creation.
### Example diff
```diff
import java.io.IOException;
import java.net.B…
-
Good morning,
With version 7.19.0 there is an error when parsing the original maven file because the parent POM contains an unversioned dependencyManagement.
```
[INFO] --- rewrite-maven-plugin…
-
### Problem
> Describe the issue you are experiencing.
HCL formatting appears to shift operators to the left when it shouldn't.
### Expected behavior
> Describe what you expected to see.
HC…
-
I am creating a recipe to add a dependency to a project based on the value of a configuration property.
However, adding the recipe `AddDependency` to the pipeline forces me to give value to the `on…
-
### Problem
Incorrectly removed static import.
### Example diff
```diff
import java.util.concurrent.atomic.AtomicReference;
import static java.util.Collections.singletonList;
-impor…