Skip to content

Commit 299fdcc

Browse files
committed
Fix Checkstyle warnings: Remove trailing white spaces on all lines.
1 parent aae6f90 commit 299fdcc

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

src/main/java/org/apache/commons/csv/CSVFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ public CSVPrinter print(final File out, Charset charset) throws IOException {
10281028
*
10291029
* @param out
10301030
* the output.
1031-
* @param charset
1031+
* @param charset
10321032
* A charset.
10331033
* @return a printer to an output.
10341034
* @throws IOException

src/main/java/org/apache/commons/csv/CSVParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,9 @@ public long getCurrentLineNumber() {
398398

399399
/**
400400
* Gets the first end-of-line string encountered.
401-
*
401+
*
402402
* @return the first end-of-line string
403-
* @since 1.5
403+
* @since 1.5
404404
*/
405405
public String getFirstEndOfLine() {
406406
return lexer.getFirstEol();

src/main/java/org/apache/commons/csv/Lexer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ final class Lexer implements Closeable {
6565
String getFirstEol(){
6666
return firstEol;
6767
}
68-
68+
6969
Lexer(final CSVFormat format, final ExtendedBufferedReader reader) {
7070
this.reader = reader;
7171
this.delimiter = format.getDelimiter();

src/test/java/org/apache/commons/csv/CSVFormatTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public void testEqualsQuoteChar() {
177177
public void testEqualsLeftNoQuoteRightQuote() {
178178
final CSVFormat left = CSVFormat.newFormat(',').withQuote(null);
179179
final CSVFormat right = left.withQuote('#');
180-
180+
181181
assertNotEquals(left, right);
182182
}
183183

src/test/java/org/apache/commons/csv/CSVParserTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private BOMInputStream createBOMInputStream(String resource) throws IOException
8080
final URL url = ClassLoader.getSystemClassLoader().getResource(resource);
8181
return new BOMInputStream(url.openStream());
8282
}
83-
83+
8484
@Test
8585
public void testBackslashEscaping() throws IOException {
8686

@@ -234,7 +234,7 @@ public void testCarriageReturnLineFeedEndings() throws IOException {
234234
assertEquals(4, records.size());
235235
}
236236
}
237-
237+
238238
@Test
239239
public void testFirstEndOfLineCrLf() throws IOException {
240240
final String data = "foo\r\nbaar,\r\nhello,world\r\n,kanu";
@@ -244,7 +244,7 @@ public void testFirstEndOfLineCrLf() throws IOException {
244244
assertEquals("\r\n", parser.getFirstEndOfLine());
245245
}
246246
}
247-
247+
248248
@Test
249249
public void testFirstEndOfLineLf() throws IOException {
250250
final String data = "foo\nbaar,\nhello,world\n,kanu";

src/test/java/org/apache/commons/csv/issues/JiraCsv213Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
/**
3333
* Tests https://issues.apache.org/jira/browse/CSV-213
34-
*
34+
*
3535
* This is normal behavior with the current architecture: The iterator() API presents an object that is backed by data
3636
* in the CSVParser as the parser is streaming over the file. The CSVParser is like a forward-only stream. When you
3737
* create a new Iterator you are only created a new view on the same position in the parser's stream. For the behavior

0 commit comments

Comments
 (0)