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 2017/08/11 21:15:29 UTC
commons-csv git commit: Fix Checkstyle warnings: Remove trailing
white spaces on all lines.
Repository: commons-csv
Updated Branches:
refs/heads/master aae6f9044 -> 299fdccfd
Fix Checkstyle warnings: Remove trailing white spaces on all lines.
Project: http://git-wip-us.apache.org/repos/asf/commons-csv/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-csv/commit/299fdccf
Tree: http://git-wip-us.apache.org/repos/asf/commons-csv/tree/299fdccf
Diff: http://git-wip-us.apache.org/repos/asf/commons-csv/diff/299fdccf
Branch: refs/heads/master
Commit: 299fdccfd67319a0231efe82eba424003afb371d
Parents: aae6f90
Author: Gary Gregory <ga...@gmail.com>
Authored: Fri Aug 11 15:15:27 2017 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Fri Aug 11 15:15:27 2017 -0600
----------------------------------------------------------------------
src/main/java/org/apache/commons/csv/CSVFormat.java | 2 +-
src/main/java/org/apache/commons/csv/CSVParser.java | 4 ++--
src/main/java/org/apache/commons/csv/Lexer.java | 2 +-
src/test/java/org/apache/commons/csv/CSVFormatTest.java | 2 +-
src/test/java/org/apache/commons/csv/CSVParserTest.java | 6 +++---
.../java/org/apache/commons/csv/issues/JiraCsv213Test.java | 2 +-
6 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-csv/blob/299fdccf/src/main/java/org/apache/commons/csv/CSVFormat.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java
index 3b01bd6..b230588 100644
--- a/src/main/java/org/apache/commons/csv/CSVFormat.java
+++ b/src/main/java/org/apache/commons/csv/CSVFormat.java
@@ -1028,7 +1028,7 @@ public final class CSVFormat implements Serializable {
*
* @param out
* the output.
- * @param charset
+ * @param charset
* A charset.
* @return a printer to an output.
* @throws IOException
http://git-wip-us.apache.org/repos/asf/commons-csv/blob/299fdccf/src/main/java/org/apache/commons/csv/CSVParser.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/csv/CSVParser.java b/src/main/java/org/apache/commons/csv/CSVParser.java
index 2e4d662..4580f41 100644
--- a/src/main/java/org/apache/commons/csv/CSVParser.java
+++ b/src/main/java/org/apache/commons/csv/CSVParser.java
@@ -398,9 +398,9 @@ public final class CSVParser implements Iterable<CSVRecord>, Closeable {
/**
* Gets the first end-of-line string encountered.
- *
+ *
* @return the first end-of-line string
- * @since 1.5
+ * @since 1.5
*/
public String getFirstEndOfLine() {
return lexer.getFirstEol();
http://git-wip-us.apache.org/repos/asf/commons-csv/blob/299fdccf/src/main/java/org/apache/commons/csv/Lexer.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/csv/Lexer.java b/src/main/java/org/apache/commons/csv/Lexer.java
index 027e41e..d8cdbf7 100644
--- a/src/main/java/org/apache/commons/csv/Lexer.java
+++ b/src/main/java/org/apache/commons/csv/Lexer.java
@@ -65,7 +65,7 @@ final class Lexer implements Closeable {
String getFirstEol(){
return firstEol;
}
-
+
Lexer(final CSVFormat format, final ExtendedBufferedReader reader) {
this.reader = reader;
this.delimiter = format.getDelimiter();
http://git-wip-us.apache.org/repos/asf/commons-csv/blob/299fdccf/src/test/java/org/apache/commons/csv/CSVFormatTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/csv/CSVFormatTest.java b/src/test/java/org/apache/commons/csv/CSVFormatTest.java
index 59a7629..4491b53 100644
--- a/src/test/java/org/apache/commons/csv/CSVFormatTest.java
+++ b/src/test/java/org/apache/commons/csv/CSVFormatTest.java
@@ -177,7 +177,7 @@ public class CSVFormatTest {
public void testEqualsLeftNoQuoteRightQuote() {
final CSVFormat left = CSVFormat.newFormat(',').withQuote(null);
final CSVFormat right = left.withQuote('#');
-
+
assertNotEquals(left, right);
}
http://git-wip-us.apache.org/repos/asf/commons-csv/blob/299fdccf/src/test/java/org/apache/commons/csv/CSVParserTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java
index cffd143..8a1b567 100644
--- a/src/test/java/org/apache/commons/csv/CSVParserTest.java
+++ b/src/test/java/org/apache/commons/csv/CSVParserTest.java
@@ -80,7 +80,7 @@ public class CSVParserTest {
final URL url = ClassLoader.getSystemClassLoader().getResource(resource);
return new BOMInputStream(url.openStream());
}
-
+
@Test
public void testBackslashEscaping() throws IOException {
@@ -234,7 +234,7 @@ public class CSVParserTest {
assertEquals(4, records.size());
}
}
-
+
@Test
public void testFirstEndOfLineCrLf() throws IOException {
final String data = "foo\r\nbaar,\r\nhello,world\r\n,kanu";
@@ -244,7 +244,7 @@ public class CSVParserTest {
assertEquals("\r\n", parser.getFirstEndOfLine());
}
}
-
+
@Test
public void testFirstEndOfLineLf() throws IOException {
final String data = "foo\nbaar,\nhello,world\n,kanu";
http://git-wip-us.apache.org/repos/asf/commons-csv/blob/299fdccf/src/test/java/org/apache/commons/csv/issues/JiraCsv213Test.java
----------------------------------------------------------------------
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 b6492f7..fca82b8 100644
--- a/src/test/java/org/apache/commons/csv/issues/JiraCsv213Test.java
+++ b/src/test/java/org/apache/commons/csv/issues/JiraCsv213Test.java
@@ -31,7 +31,7 @@ import org.junit.Test;
/**
* Tests https://issues.apache.org/jira/browse/CSV-213
- *
+ *
* This is normal behavior with the current architecture: The iterator() API presents an object that is backed by data
* in the CSVParser as the parser is streaming over the file. The CSVParser is like a forward-only stream. When you
* create a new Iterator you are only created a new view on the same position in the parser's stream. For the behavior