From 4f3ef66ce3f030c1f45b9426908da32e462e6bac Mon Sep 17 00:00:00 2001 From: Emmanuel Bourg Date: Wed, 7 Mar 2012 11:02:52 +0000 Subject: [PATCH] Removed the constructors of CSVFormat from the public API, as well as the DISABLED constant which becomes useless because the special characters are disabled by default in the predefined formats git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1297930 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/csv/CSVFormat.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java index 2a776c32..1545f2c9 100644 --- a/src/main/java/org/apache/commons/csv/CSVFormat.java +++ b/src/main/java/org/apache/commons/csv/CSVFormat.java @@ -46,7 +46,7 @@ public class CSVFormat implements Cloneable, Serializable { * and because the unicode value FFFE would be encoded as two chars (using surrogates) * and thus there should never be a collision with a real text char. */ - public static final char DISABLED = '\ufffe'; + static final char DISABLED = '\ufffe'; /** Standard comma separated format as defined by RFC 4180. */ public static final CSVFormat DEFAULT = new CSVFormat(',', '"', DISABLED, DISABLED, true, true, false, true); @@ -71,7 +71,7 @@ public class CSVFormat implements Cloneable, Serializable { /** * Creates a CSV format with the default parameters. */ - public CSVFormat() { + CSVFormat() { } /** @@ -81,7 +81,7 @@ public class CSVFormat implements Cloneable, Serializable { * @param encapsulator the char used as value encapsulation marker * @param commentStart the char used for comment identification */ - public CSVFormat(char delimiter, char encapsulator, char commentStart) { + CSVFormat(char delimiter, char encapsulator, char commentStart) { this(delimiter, encapsulator, commentStart, DISABLED, true, true, false, true); } @@ -97,7 +97,7 @@ public class CSVFormat implements Cloneable, Serializable { * @param unicodeEscapesInterpreted true when unicode escapes should be interpreted * @param emptyLinesIgnored true when the parser should skip emtpy lines */ - public CSVFormat( + CSVFormat( char delimiter, char encapsulator, char commentStart,