handsomewu6688-design opened a new pull request, #321:
URL: https://github.com/apache/commons-math/pull/321

   ## Summary
   
   This PR upgrades the project from Java 8 to Java 17 using the OpenRewrite 
org.openrewrite.java.migrate.UpgradeToJava17 recipe.
   
   ## Changes Applied
   
   - UpgradeJavaVersion: Updated source/target from 8 to 17 in pom.xml
   - InstanceOfPatternMatch: Replaced instanceof + cast with pattern matching
   - AddSerialAnnotationToSerialVersionUID: Added @Serial annotation
   - StringFormatted: Converted String.format to .formatted
   - PathsGetToPathOf: Replaced Paths.get with Path.of
   - UseTextBlocks: Converted multiline strings to text blocks
   
   ## Statistics
   
   - 129 files changed, 476 insertions, 270 deletions
   - Estimated manual effort saved: 2 hours 52 minutes
   
   ## Verification
   
   - BUILD SUCCESS with JDK 17
   
   ## Tool
   
   Recipe: org.openrewrite.java.migrate.UpgradeToJava17
   Plugin: rewrite-maven-plugin
   Coordinates: org.openrewrite.recipe:rewrite-migrate-java:LATEST
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to