lbownik commented on a change in pull request #3844: URL: https://github.com/apache/netbeans/pull/3844#discussion_r835545873
########## File path: apisupport/apisupport.ant/src/org/netbeans/modules/apisupport/project/queries/FileEncodingQueryImpl.java ########## @@ -37,7 +38,7 @@ public FileEncodingQueryImpl() {} public Charset getEncoding(FileObject file) { - return Charset.forName("UTF-8"); + return StandardCharsets.UTF_8; Review comment: How about using static import? -- 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: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists