From 3568bba22f6217a644c73fbf3485f1aa93804df3 Mon Sep 17 00:00:00 2001 From: Benedikt Ritter Date: Thu, 5 May 2016 19:43:57 +0000 Subject: [PATCH] Checkstyle: Line has trailing spaces git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742459 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/commons/csv/Assertions.java | 2 +- .../java/org/apache/commons/csv/CSVFormat.java | 2 +- .../java/org/apache/commons/csv/CSVPrinter.java | 2 +- .../java/org/apache/commons/csv/Constants.java | 14 +++++++------- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/java/org/apache/commons/csv/Assertions.java b/src/main/java/org/apache/commons/csv/Assertions.java index f683a8a9..3fdf2ea8 100644 --- a/src/main/java/org/apache/commons/csv/Assertions.java +++ b/src/main/java/org/apache/commons/csv/Assertions.java @@ -19,7 +19,7 @@ package org.apache.commons.csv; /** * Utility class for input parameter validation. - * + * * TODO Replace usage with {@link Objects} when we switch to Java 7. * * @version $Id$ diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java index 27508b97..02ed2af9 100644 --- a/src/main/java/org/apache/commons/csv/CSVFormat.java +++ b/src/main/java/org/apache/commons/csv/CSVFormat.java @@ -1076,7 +1076,7 @@ public final class CSVFormat implements Serializable { /** * Returns a new {@code CSVFormat} using the first record as header. - * + * *

* Calling this method is equivalent to calling: *

diff --git a/src/main/java/org/apache/commons/csv/CSVPrinter.java b/src/main/java/org/apache/commons/csv/CSVPrinter.java index cb500c42..f5cf27c1 100644 --- a/src/main/java/org/apache/commons/csv/CSVPrinter.java +++ b/src/main/java/org/apache/commons/csv/CSVPrinter.java @@ -353,7 +353,7 @@ public final class CSVPrinter implements Flushable, Closeable { */ public void println() throws IOException { if (format.getTrailingDelimiter()) { - out.append(format.getDelimiter()); + out.append(format.getDelimiter()); } final String recordSeparator = format.getRecordSeparator(); if (recordSeparator != null) { diff --git a/src/main/java/org/apache/commons/csv/Constants.java b/src/main/java/org/apache/commons/csv/Constants.java index 0e010f43..a8da45b1 100644 --- a/src/main/java/org/apache/commons/csv/Constants.java +++ b/src/main/java/org/apache/commons/csv/Constants.java @@ -25,7 +25,7 @@ package org.apache.commons.csv; final class Constants { static final char BACKSLASH = '\\'; - + static final char BACKSPACE = '\b'; static final char COMMA = ','; @@ -34,19 +34,19 @@ final class Constants { * Starts a comment, the remainder of the line is the comment. */ static final char COMMENT = '#'; - + static final char CR = '\r'; - + /** RFC 4180 defines line breaks as CRLF */ static final String CRLF = "\r\n"; - + static final Character DOUBLE_QUOTE_CHAR = Character.valueOf('"'); - + static final String EMPTY = ""; - + /** The end of stream symbol */ static final int END_OF_STREAM = -1; - + static final char FF = '\f'; static final char LF = '\n';