You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ki...@apache.org on 2017/08/26 07:55:55 UTC
commons-csv git commit: Fix checkstyle errors by replacing tabs by
spaces
Repository: commons-csv
Updated Branches:
refs/heads/master 259812ec0 -> 87b75e02a
Fix checkstyle errors by replacing tabs by spaces
Project: http://git-wip-us.apache.org/repos/asf/commons-csv/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-csv/commit/87b75e02
Tree: http://git-wip-us.apache.org/repos/asf/commons-csv/tree/87b75e02
Diff: http://git-wip-us.apache.org/repos/asf/commons-csv/diff/87b75e02
Branch: refs/heads/master
Commit: 87b75e02a329cf752c98023cdb2ade3ebd0259fe
Parents: 259812e
Author: Bruno P. Kinoshita <br...@yahoo.com.br>
Authored: Sat Aug 26 19:25:33 2017 +1200
Committer: Bruno P. Kinoshita <br...@yahoo.com.br>
Committed: Sat Aug 26 19:55:38 2017 +1200
----------------------------------------------------------------------
.../java/org/apache/commons/csv/CSVFormat.java | 40 ++++++++++----------
1 file changed, 20 insertions(+), 20 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-csv/blob/87b75e02/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 bae5a97..410c8fb 100644
--- a/src/main/java/org/apache/commons/csv/CSVFormat.java
+++ b/src/main/java/org/apache/commons/csv/CSVFormat.java
@@ -275,8 +275,8 @@ public final class CSVFormat implements Serializable {
*/
// @formatter:off
public static final CSVFormat EXCEL = DEFAULT
- .withIgnoreEmptyLines(false)
- .withAllowMissingColumnNames();
+ .withIgnoreEmptyLines(false)
+ .withAllowMissingColumnNames();
// @formatter:on
/**
@@ -305,8 +305,8 @@ public final class CSVFormat implements Serializable {
*/
// @formatter:off
public static final CSVFormat INFORMIX_UNLOAD = DEFAULT
- .withDelimiter(PIPE)
- .withEscape(BACKSLASH)
+ .withDelimiter(PIPE)
+ .withEscape(BACKSLASH)
.withQuote(DOUBLE_QUOTE_CHAR)
.withRecordSeparator(LF);
// @formatter:on
@@ -336,8 +336,8 @@ public final class CSVFormat implements Serializable {
*/
// @formatter:off
public static final CSVFormat INFORMIX_UNLOAD_CSV = DEFAULT
- .withDelimiter(COMMA)
- .withQuote(DOUBLE_QUOTE_CHAR)
+ .withDelimiter(COMMA)
+ .withQuote(DOUBLE_QUOTE_CHAR)
.withRecordSeparator(LF);
// @formatter:on
@@ -368,13 +368,13 @@ public final class CSVFormat implements Serializable {
*/
// @formatter:off
public static final CSVFormat MYSQL = DEFAULT
- .withDelimiter(TAB)
- .withEscape(BACKSLASH)
- .withIgnoreEmptyLines(false)
+ .withDelimiter(TAB)
+ .withEscape(BACKSLASH)
+ .withIgnoreEmptyLines(false)
.withQuote(null)
.withRecordSeparator(LF)
.withNullString("\\N")
- .withQuoteMode(QuoteMode.ALL_NON_NULL);
+ .withQuoteMode(QuoteMode.ALL_NON_NULL);
// @formatter:off
/**
@@ -405,13 +405,13 @@ public final class CSVFormat implements Serializable {
*/
// @formatter:off
public static final CSVFormat POSTGRESQL_CSV = DEFAULT
- .withDelimiter(COMMA)
- .withEscape(DOUBLE_QUOTE_CHAR)
- .withIgnoreEmptyLines(false)
+ .withDelimiter(COMMA)
+ .withEscape(DOUBLE_QUOTE_CHAR)
+ .withIgnoreEmptyLines(false)
.withQuote(DOUBLE_QUOTE_CHAR)
.withRecordSeparator(LF)
.withNullString(EMPTY)
- .withQuoteMode(QuoteMode.ALL_NON_NULL);
+ .withQuoteMode(QuoteMode.ALL_NON_NULL);
// @formatter:off
/**
@@ -442,13 +442,13 @@ public final class CSVFormat implements Serializable {
*/
// @formatter:off
public static final CSVFormat POSTGRESQL_TEXT = DEFAULT
- .withDelimiter(TAB)
- .withEscape(DOUBLE_QUOTE_CHAR)
- .withIgnoreEmptyLines(false)
+ .withDelimiter(TAB)
+ .withEscape(DOUBLE_QUOTE_CHAR)
+ .withIgnoreEmptyLines(false)
.withQuote(DOUBLE_QUOTE_CHAR)
.withRecordSeparator(LF)
.withNullString("\\N")
- .withQuoteMode(QuoteMode.ALL_NON_NULL);
+ .withQuoteMode(QuoteMode.ALL_NON_NULL);
// @formatter:off
/**
@@ -487,8 +487,8 @@ public final class CSVFormat implements Serializable {
*/
// @formatter:off
public static final CSVFormat TDF = DEFAULT
- .withDelimiter(TAB)
- .withIgnoreSurroundingSpaces();
+ .withDelimiter(TAB)
+ .withIgnoreSurroundingSpaces();
// @formatter:on
/**