dossett opened a new pull request, #3378:
URL: https://github.com/apache/parquet-java/pull/3378

   Now that java 8 is no longer supported, we can use language features 
introduced in later versions and get ahead of other changes for subsequent 
upgrades.  I'm trying this in one module as a test of automating this with 
codex.
   
   Codex generated summary:
   
     - Replaced deprecated reflection APIs with 
getDeclaredConstructor().newInstance() and unified exception handling, enabled 
by Java 9+ deprecations now acceptable with Java 11 baseline.
     - Adopted List.of and List.copyOf for immutable collections, removing 
verbose Arrays.asList/manual wrappers and leveraging Java 9/10 collection 
factories.
     - Simplified null-defaulting with Objects.requireNonNullElse and removed 
redundant null checks made unnecessary by Objects.requireNonNull, both 
available in Java 9+.
     - Modernized small collection usages (e.g., ArrayDeque for queues, diamond 
operator cleanup), consistent with Java 11 APIs and performance best practices.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to