-
Notifications
You must be signed in to change notification settings - Fork 119
Comparing changes
Open a pull request
base repository: openrewrite/rewrite-migrate-java
base: v2.22.1
head repository: openrewrite/rewrite-migrate-java
compare: v2.23.0
- 8 commits
- 47 files changed
- 9 contributors
Commits on Aug 15, 2024
-
Migrate to JSpecify from OpenRewrite JSR-305 meta-annotations (#537)
* Migrate to JSpecify from OpenRewrite JSR-305 meta-annotations Use this link to re-run the recipe: https://app.moderne.io/builder/gW3xaSLWV?organizationId=T3BlblJld3JpdGU%3D Co-authored-by: Moderne <[email protected]> * Remove field level NonNull annotations --------- Co-authored-by: Moderne <[email protected]> Co-authored-by: Tim te Beek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3dfcc4f - Browse repository at this point
Copy the full SHA 3dfcc4fView commit details -
Handle generics in PreferJavaUtilObjectsRequireNonNull (#538)
* Handle generics in PreferJavaUtilObjectsRequireNonNull Before this patch, the PreferJavaUtilObjectsRequireNonNull recipe would only migrate usage of exactly `checkNotNull(Object)` but not any other (sub)types. We now match invocations of checkNotNull with exactly one or two arguments (both in refaster). Note that there is also a three argument version that doesn't have a straight-forward replacement, I skipped that for now and added a testcase. * Expect non-static import for now * Exclusively test with generated NoGuavaRefasterRecipes * Use a unique name for the new recipe * Suppress warning --------- Co-authored-by: Tim te Beek <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b525041 - Browse repository at this point
Copy the full SHA b525041View commit details
Commits on Aug 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3d8fbd0 - Browse repository at this point
Copy the full SHA 3d8fbd0View commit details -
refactor: Simplify lambda blocks to expressions
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.staticanalysis.LambdaBlockToExpression?organizationId=T3BlblJld3JpdGU%3D Co-authored-by: Moderne <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 77eda2c - Browse repository at this point
Copy the full SHA 77eda2cView commit details
Commits on Aug 18, 2024
-
refactor: Remove unused imports
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.java.RemoveUnusedImports?organizationId=T3BlblJld3JpdGU%3D Co-authored-by: Moderne <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7bf7506 - Browse repository at this point
Copy the full SHA 7bf7506View commit details
Commits on Aug 20, 2024
-
Recipe ReplaceLocalizedStreamMethods (#532)
* Recipe for LocalizedStreamMethods * Formatted the file * Remove RemovedLogManagerPropertyChangeListenerMethods for now * Fix compilation and other suggested fixes * Retain original prefix * Apply suggestions from code review Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Updated the getDisplayName and getDescription * Modified as mentioned in Comments * Updated the description * Update ReplaceLocalizedStreamMethods.java * Update ReplaceLocalizedStreamMethods.java --------- Co-authored-by: bhavanapidapa <[email protected]> Co-authored-by: Tim te Beek <[email protected]> Co-authored-by: Tim te Beek <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 270244c - Browse repository at this point
Copy the full SHA 270244cView commit details
Commits on Aug 21, 2024
-
refactor: OpenRewrite best practices
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.recipes.OpenRewriteBestPractices?organizationId=T3BlblJld3JpdGU%3D Co-authored-by: Moderne <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e638cbe - Browse repository at this point
Copy the full SHA e638cbeView commit details
Commits on Aug 25, 2024
-
Migrate a few more OpenRewrite nullability annotations
Use this link to re-run the recipe: https://app.moderne.io/builder/rCfr27H6r?organizationId=T3BlblJld3JpdGU%3D Co-authored-by: Moderne <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 30c79c0 - Browse repository at this point
Copy the full SHA 30c79c0View 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 v2.22.1...v2.23.0