openrewrite/rewrite-migrate-java
OpenRewrite recipes for migrating to newer versions of Java.
JavaNOASSERTION
Issues
- 1
Issue with `StringFormatted` recipe
#598 opened by mankoffs - 1
- 2
Safely expand SequencedCollection `getFirst/Last` to also convert lists returned from method calls
#483 opened by delanym - 9
- 7
- 4
NoGuavaJava21 causing invalid code since v2.28.0
#590 opened by protocol7 - 4
Question about `UseTextBlocks`
#589 opened by traceyyoshima - 2
`org.openrewrite.java.migrate.util.UseMapOf` fails on double brace init for non-string types
#566 opened by blipper - 1
Exception thrown when matching for `NoGuavaImmutableListOf` on `ImmutableList.of(1, 2).stream()`
#489 opened by olayinkasf - 0
AbstractNoGuavaImmutableOf#isParentTypeDownCast throws IndexOutOfBoundsException
#520 opened by mbruggmann - 0
Recipes to replace Guava `Immutable{Set|List|Map}.copyOf()` calls with Java `{Set|List|Map}.copyOf()` calls
#584 opened by knutwannheden - 5
Add explicit imports to avoid conflicts with classes added to `java.lang`, like `Record`
#540 opened by timtebeek - 10
- 1
`org.openrewrite.java.migrate.util.MigrateCollectionsSingletonList` should not convert known null
#571 opened by blipper - 1
- 4
- 6
- 4
`UseTextBlocks` should not delete comments
#397 opened by aholland - 1
UseTextBlocks creating unnecessary trailing escape
#555 opened by protocol7 - 3
Minor issue with StringFormatted recipe
#453 opened by motlin - 5
`UseVarForObject` creates broken code when replacing array that is created with array literals
#551 opened by uhafner - 1
UpgradeBuildToJava17 does not seem to detect Java 17 declared in spring-boot-starter-parent and adds maven.compiler.release property
#547 opened by DidierLoiseau - 1
org.openrewrite.java.migrate.lombok.LombokValToFinalVar does not clean up imports
#539 opened by blipper - 2
Class To Record
#391 opened by nmck257 - 5
- 2
- 20
`@PostConstruct` import being removed from beans
#457 opened by melloware - 0
UpgradeJavaVersion recipe does not work properly when a Java version isn't explicitly specified
#514 opened by cjobinabo - 2
UseEnumSetOf rewrite breaks for varargs parameter
#516 opened by mbruggmann - 0
AddJaxbDependencies removes `javax.xml.bind:jaxb-api` when it is required by another dependency
#504 opened by pstreef - 3
AddMissingMethodImplementation should check for superclass implementations of the relevant method
#466 opened by nmck257 - 4
UseTextBlocks incorrectly converts multi-line concatenated string to text block in Kotlin
#501 opened by eocantu - 1
Migrate StringTokenizer
#488 opened by delanym - 7
`jakarta.annotation-api` dependency added in Java 11 migration should be removed when migrating to Jakarta
#481 opened by abccbaandy - 4
Migrate to `jakarta.validation` does not update META-INF/services/javax.validation.ConstraintValidator
#478 opened by arnaldop - 3
- 3
Recipe JakartaEE10 replaces wrongly javax.sql.DataSource into jakarta.sql.DataSource
#439 opened by marcwhitemore - 2
`PreferJavaUtilPredicate` does not change functional method {apply -> test}
#435 opened by timo-abele - 1
`PreferJavaUtilFunction` should not convert when used specifically as Guava type
#436 opened by timo-abele - 3
- 6
- 0
- 0
- 1
Replace Guava Maps.newHashMap()
#412 opened by timo-abele - 0
- 4
ListFirstAndLast skips `methodCall().get(0)`
#423 opened by timo-abele - 0
- 1
- 2
- 3
Running ``org.openrewrite.java.migrate.UpgradeToJava21` should not downgrade `jakarta.inject-api` dependency, should it?
#394 opened by koppor