This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-csv.git
The following commit(s) were added to refs/heads/master by this push:
new af28635 Clean ups.
af28635 is described below
commit af2863555785a860bfba6889d31fb32a35e07b46
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Oct 6 14:40:24 2019 -0400
Clean ups.
---
.../java/org/apache/commons/csv/issues/JiraCsv213Test.java | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/test/java/org/apache/commons/csv/issues/JiraCsv213Test.java
b/src/test/java/org/apache/commons/csv/issues/JiraCsv213Test.java
index 30e9403..88dc70b 100644
--- a/src/test/java/org/apache/commons/csv/issues/JiraCsv213Test.java
+++ b/src/test/java/org/apache/commons/csv/issues/JiraCsv213Test.java
@@ -52,18 +52,16 @@ public class JiraCsv213Test {
try (CSVParser parser = csvFormat
.parse(new InputStreamReader(new FileInputStream(csvFile),
StandardCharsets.UTF_8))) {
if (parser.iterator().hasNext()) {
- System.out.println(parser.getCurrentLineNumber());
- System.out.println(parser.getRecordNumber());
+ // System.out.println(parser.getCurrentLineNumber());
+ // System.out.println(parser.getRecordNumber());
// get only first record we don't need other's
- final CSVRecord firstRecord = parser.iterator().next(); //
this fails
+ parser.iterator().next(); // this fails
return;
}
} catch (final IOException e) {
- throw new IllegalStateException("Error while adding end channel to
csv", e);
+ throw new IllegalStateException("Error while adding end channel to
CSV", e);
}
-
- return;
}
@Test