-
Notifications
You must be signed in to change notification settings - Fork 114
Comparing changes
Open a pull request
base repository: openrewrite/rewrite-migrate-java
base: v3.30.1
head repository: openrewrite/rewrite-migrate-java
compare: v3.31.0
- 17 commits
- 19 files changed
- 7 contributors
Commits on Mar 19, 2026
-
OpenRewrite recipe best practices
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.recipes.rewrite.OpenRewriteRecipeBestPractices?organizationId=QUxML01vZGVybmUvTW9kZXJuZSArIE9wZW5SZXdyaXRl Co-authored-by: Moderne <team@moderne.io>
Configuration menu - View commit details
-
Copy full SHA for 3f31766 - Browse repository at this point
Copy the full SHA 3f31766View commit details
Commits on Mar 20, 2026
-
Modernize README to reflect current project capabilities (#1020)
* Modernize README to reflect current project capabilities Update outdated claims (Maven-only support, missing Java 25), restructure with scannable tables, add Jakarta EE 9/10/11 breadth, and trim obsolete sections like the Illegal Reflective Access deep-dive. * Apply suggestions from code review Co-authored-by: Tim te Beek <timtebeek@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for eceb48a - Browse repository at this point
Copy the full SHA eceb48aView commit details
Commits on Mar 21, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 41d7ca1 - Browse repository at this point
Copy the full SHA 41d7ca1View commit details -
Add ExplicitTypeToVar recipe to replace explicit type with var keywor…
…d. (#1009) * Add ExplicitTypeToVar recipe to replace explicit type with var keyword. * Rename ExplicitTypeToVar to UseVarForConstructors. * Polish * Additional test cases --------- Co-authored-by: Tim te Beek <tim@moderne.io>
Configuration menu - View commit details
-
Copy full SHA for 6f0abb3 - Browse repository at this point
Copy the full SHA 6f0abb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4238f5a - Browse repository at this point
Copy the full SHA 4238f5aView commit details
Commits on Mar 23, 2026
-
OpenRewrite recipe best practices
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.recipes.rewrite.OpenRewriteRecipeBestPractices?organizationId=QUxML01vZGVybmUvTW9kZXJuZSArIE9wZW5SZXdyaXRl Co-authored-by: Moderne <team@moderne.io>
Configuration menu - View commit details
-
Copy full SHA for 95577f9 - Browse repository at this point
Copy the full SHA 95577f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab9b87f - Browse repository at this point
Copy the full SHA ab9b87fView commit details -
Use
varfor local variables initialized with constructor in testsUse this link to re-run the recipe: https://app.moderne.io/builder/9uwIjLvVE?organizationId=QUxML01vZGVybmUvTW9kZXJuZSArIE9wZW5SZXdyaXRl Co-authored-by: Moderne <team@moderne.io>
Configuration menu - View commit details
-
Copy full SHA for e663e7b - Browse repository at this point
Copy the full SHA e663e7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68f9289 - Browse repository at this point
Copy the full SHA 68f9289View commit details -
Extend UseVarForPrimitive to support String literals (#1024)
* Extend UseVarForPrimitive to also apply var to String literal variables * Simplify * Further simplifications
Configuration menu - View commit details
-
Copy full SHA for 69aeb40 - Browse repository at this point
Copy the full SHA 69aeb40View commit details -
Add notes for Faces 4.0 FacesManagedBeansRemoved (#1025)
* Add notes for Faces 4.0 FacesManagedBeansRemoved. #1023 * Update ManagedProperty annotations for Jakarta Faces 4 --------- Co-authored-by: Tim te Beek <tim@moderne.io>
Configuration menu - View commit details
-
Copy full SHA for 8ff2f5b - Browse repository at this point
Copy the full SHA 8ff2f5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 028d886 - Browse repository at this point
Copy the full SHA 028d886View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9e4663 - Browse repository at this point
Copy the full SHA a9e4663View commit details
Commits on Mar 24, 2026
-
OpenRewrite recipe best practices
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.recipes.rewrite.OpenRewriteRecipeBestPractices?organizationId=QUxML01vZGVybmUvTW9kZXJuZSArIE9wZW5SZXdyaXRl Co-authored-by: Moderne <team@moderne.io>
Configuration menu - View commit details
-
Copy full SHA for 1c2d0ce - Browse repository at this point
Copy the full SHA 1c2d0ceView commit details -
Add Java best practices recipe (#1021)
* Add Java best practices recipe Opinionated recipe that builds on UpgradeToJava25 with additional best practices: NoGuava, JSpecify, targeted UseVar, and broadly accepted static analysis improvements. * Remove recipes already in Java upgrade chain PrimitiveWrapperClassConstructorToValueOf and BigDecimalRoundingConstantsToEnums are already included transitively via Java8toJava11. * Regenerate recipes.csv for JavaBestPractices * Add more best practice recipes Add stdlib preference recipes (UseEnumSetOf, UseListOf, UseSetOf, UseStringIsEmpty), bug prevention (ReplaceWeekYearWithYear, RemoveHashCodeCallsFromArrayInstances, RemoveToStringCallsFromArrayInstances, UseObjectNotifyAll, RemoveCallsToSystemGc, RemoveCallsToObjectFinalize), and modernization (UseStandardCharset, UseSystemLineSeparator, RemoveRedundantTypeCast, ReplaceStackWithDeque, UseListSort, EqualsToContentEquals). * Remove UseStringIsEmptyRecipe from practices Removed UseStringIsEmptyRecipe from Java best practices. * Add ordering comment for UseVar vs UseDiamondOperator UseVarForGenericsConstructors/UseVarForGenericMethodInvocations must run before UseDiamondOperator to preserve the explicit type arguments needed for var inference. * Add UseVarForConstructors to rewrite rules * Add UseVarForPrimitive to Java best practices * Add UseMapOf to Java best practices recipe Include UseMapOf alongside UseListOf, UseSetOf, and UseEnumSetOf for consistent coverage of modern collection factory methods. --------- Co-authored-by: Merlin Bögershausen <merlin.boegershausen@rwth-aachen.de>
Configuration menu - View commit details
-
Copy full SHA for fd3bfe3 - Browse repository at this point
Copy the full SHA fd3bfe3View commit details -
Add JavadocToMarkdownDocComment recipe (JEP 467) (#1019)
* Add JavadocToMarkdownDocComment recipe for JEP 467 Convert traditional Javadoc comments (/** ... */) to Markdown documentation comments (///) as supported by Java 23+. Transforms HTML constructs like <pre>, <code>, <em>, <p>, and lists to their Markdown equivalents, and converts inline tags like {@code} and {@link} to Markdown syntax. * Add working-set directories to .gitignore * Update .gitignore to include new patterns * Address PR review comments on JavadocToMarkdownDocComment - Remove redundant hasJavadoc early-return check; ListUtils.flatMap already returns the same list if nothing changes - Extract normalizeLines() and toTextComments() helper methods - Use ListUtils.mapLast() to set the final comment suffix instead of manual index tracking * Slight polish * Address PR review comments: simplify flatMap, right-trim, and mapLast * Fix {@literal} and Erroneous handling, add JEP 467 coverage tests P0 fixes: - {@literal} content now wrapped in backticks (prevents Markdown interpretation of special chars like <T>) - Erroneous node: use convert() instead of append(getText()) which produced List.toString() garbage P2 tests for existing code paths: - {@link ref label} form, ordered lists, @exception, @implSpec, <i>/<b> tags, @param with inline {@code}, {@docroot}, {@value} Two tests marked @ExpectedToFail for pre-existing bugs: - Multi-line {@code}: extra blank lines in fenced code blocks - @see with qualified names: uses # instead of . for packages * Group JEP 467 coverage tests in @nested class Restructure test file per OR conventions: - Move {@literal} test to core tests (P0 fix validation) - Wrap remaining coverage tests in @nested Jep467FlagshipExamples - Remove internal priority-label comments (P0/P2/P3) --------- Co-authored-by: Merlin Bögershausen <merlin.boegershausen@rwth-aachen.de>Configuration menu - View commit details
-
Copy full SHA for e339177 - Browse repository at this point
Copy the full SHA e339177View commit details
Commits on Mar 25, 2026
-
Extract documentation examples from tests
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.java.recipes.ExamplesExtractor?organizationId=QUxML01vZGVybmU%3D Co-authored-by: Moderne <team@moderne.io>
Configuration menu - View commit details
-
Copy full SHA for f3a2e32 - Browse repository at this point
Copy the full SHA f3a2e32View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.30.1...v3.31.0