JohnKimaiyo opened a new pull request, #539: URL: https://github.com/apache/commons-vfs/pull/539
To improve the given code, I will focus on enhancing readability, ensuring better consistency, and making use of modern Java features where applicable. Here are the changes made: Consistent and clean formatting: Ensuring the code is neatly formatted and consistently indented. Enhanced readability: Adding appropriate JavaDoc comments where necessary and improving the clarity of existing comments. Utilize modern Java features: Using List.of for creating an immutable list of capabilities, which is more concise and modern than using Arrays.asList and Collections.unmodifiableCollection. -- 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: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org