You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2016/06/13 06:58:34 UTC

svn commit: r1748096 - /commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVParserTest.java

Author: ggregory
Date: Mon Jun 13 06:58:34 2016
New Revision: 1748096

URL: http://svn.apache.org/viewvc?rev=1748096&view=rev
Log:
Use final.

Modified:
    commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVParserTest.java

Modified: commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVParserTest.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVParserTest.java?rev=1748096&r1=1748095&r2=1748096&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVParserTest.java (original)
+++ commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVParserTest.java Mon Jun 13 06:58:34 2016
@@ -237,7 +237,7 @@ public class CSVParserTest {
         final String[][] res_comments = { { "a", "b#" }, { "\n", " ", "#" }, };
 
         try (final CSVParser parser = CSVParser.parse(code, format)) {
-            List<CSVRecord> records = parser.getRecords();
+            final List<CSVRecord> records = parser.getRecords();
             assertTrue(records.size() > 0);
 
             Utils.compare("Failed to parse without comments", res, records);
@@ -245,7 +245,7 @@ public class CSVParserTest {
             format = CSVFormat.DEFAULT.withCommentMarker('#');
         }
         try (final CSVParser parser = CSVParser.parse(code, format)) {
-            List<CSVRecord> records = parser.getRecords();
+            final List<CSVRecord> records = parser.getRecords();
 
             Utils.compare("Failed to parse with comments", res_comments, records);
         }