Skip to content

Conversation

@mkarg
Copy link
Collaborator

@mkarg mkarg commented Jan 14, 2023

This PR spares code lines and potentially improves the performance of reading and writing files by using the new single-shot instructions of Java NIO available since Java 7 instead of the previous loops and readers/writers. There is no need to do this in custom code anymore as the JRE potentially knows the best way to do the job.

@michael-o michael-o merged commit c415448 into codehaus-plexus:master Jan 14, 2023
@mkarg mkarg deleted the readFile branch January 15, 2023 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants