garydgregory commented on a change in pull request #127:
URL: https://github.com/apache/commons-csv/pull/127#discussion_r545927905



##########
File path: src/test/java/org/apache/commons/csv/CSVFileParserTest.java
##########
@@ -135,7 +136,7 @@ public void testCSVUrl(final File testFile) throws 
Exception {
 
             // Now parse the file and compare against the expected results
             final URL resource = 
ClassLoader.getSystemResource("org/apache/commons/csv/CSVFileParser/" + 
split[0]);
-            try (final CSVParser parser = CSVParser.parse(resource, 
Charset.forName("UTF-8"), format)) {
+            try (final CSVParser parser = CSVParser.parse(resource, 
StandardCharsets.UTF_8, format)) {

Review comment:
       Good one :-)




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

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


Reply via email to