Checkstyle: Line has trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1742459 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
da77daf160
commit
3568bba22f
|
@ -19,7 +19,7 @@ package org.apache.commons.csv;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Utility class for input parameter validation.
|
* Utility class for input parameter validation.
|
||||||
*
|
*
|
||||||
* TODO Replace usage with {@link Objects} when we switch to Java 7.
|
* TODO Replace usage with {@link Objects} when we switch to Java 7.
|
||||||
*
|
*
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
|
|
|
@ -1076,7 +1076,7 @@ public final class CSVFormat implements Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a new {@code CSVFormat} using the first record as header.
|
* Returns a new {@code CSVFormat} using the first record as header.
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* Calling this method is equivalent to calling:
|
* Calling this method is equivalent to calling:
|
||||||
* </p>
|
* </p>
|
||||||
|
|
|
@ -353,7 +353,7 @@ public final class CSVPrinter implements Flushable, Closeable {
|
||||||
*/
|
*/
|
||||||
public void println() throws IOException {
|
public void println() throws IOException {
|
||||||
if (format.getTrailingDelimiter()) {
|
if (format.getTrailingDelimiter()) {
|
||||||
out.append(format.getDelimiter());
|
out.append(format.getDelimiter());
|
||||||
}
|
}
|
||||||
final String recordSeparator = format.getRecordSeparator();
|
final String recordSeparator = format.getRecordSeparator();
|
||||||
if (recordSeparator != null) {
|
if (recordSeparator != null) {
|
||||||
|
|
|
@ -25,7 +25,7 @@ package org.apache.commons.csv;
|
||||||
final class Constants {
|
final class Constants {
|
||||||
|
|
||||||
static final char BACKSLASH = '\\';
|
static final char BACKSLASH = '\\';
|
||||||
|
|
||||||
static final char BACKSPACE = '\b';
|
static final char BACKSPACE = '\b';
|
||||||
|
|
||||||
static final char COMMA = ',';
|
static final char COMMA = ',';
|
||||||
|
@ -34,19 +34,19 @@ final class Constants {
|
||||||
* Starts a comment, the remainder of the line is the comment.
|
* Starts a comment, the remainder of the line is the comment.
|
||||||
*/
|
*/
|
||||||
static final char COMMENT = '#';
|
static final char COMMENT = '#';
|
||||||
|
|
||||||
static final char CR = '\r';
|
static final char CR = '\r';
|
||||||
|
|
||||||
/** RFC 4180 defines line breaks as CRLF */
|
/** RFC 4180 defines line breaks as CRLF */
|
||||||
static final String CRLF = "\r\n";
|
static final String CRLF = "\r\n";
|
||||||
|
|
||||||
static final Character DOUBLE_QUOTE_CHAR = Character.valueOf('"');
|
static final Character DOUBLE_QUOTE_CHAR = Character.valueOf('"');
|
||||||
|
|
||||||
static final String EMPTY = "";
|
static final String EMPTY = "";
|
||||||
|
|
||||||
/** The end of stream symbol */
|
/** The end of stream symbol */
|
||||||
static final int END_OF_STREAM = -1;
|
static final int END_OF_STREAM = -1;
|
||||||
|
|
||||||
static final char FF = '\f';
|
static final char FF = '\f';
|
||||||
|
|
||||||
static final char LF = '\n';
|
static final char LF = '\n';
|
||||||
|
|
Loading…
Reference in New Issue