Skip to content

Commit 4f3ef66

Browse files
committed
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
1 parent 516b82b commit 4f3ef66

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class CSVFormat implements Cloneable, Serializable {
4646
* and because the unicode value FFFE would be encoded as two chars (using surrogates)
4747
* and thus there should never be a collision with a real text char.
4848
*/
49-
public static final char DISABLED = '\ufffe';
49+
static final char DISABLED = '\ufffe';
5050

5151
/** Standard comma separated format as defined by <a href="http://tools.ietf.org/html/rfc4180">RFC 4180</a>. */
5252
public static final CSVFormat DEFAULT = new CSVFormat(',', '"', DISABLED, DISABLED, true, true, false, true);
@@ -71,7 +71,7 @@ public class CSVFormat implements Cloneable, Serializable {
7171
/**
7272
* Creates a CSV format with the default parameters.
7373
*/
74-
public CSVFormat() {
74+
CSVFormat() {
7575
}
7676

7777
/**
@@ -81,7 +81,7 @@ public CSVFormat() {
8181
* @param encapsulator the char used as value encapsulation marker
8282
* @param commentStart the char used for comment identification
8383
*/
84-
public CSVFormat(char delimiter, char encapsulator, char commentStart) {
84+
CSVFormat(char delimiter, char encapsulator, char commentStart) {
8585
this(delimiter, encapsulator, commentStart, DISABLED, true, true, false, true);
8686
}
8787

@@ -97,7 +97,7 @@ public CSVFormat(char delimiter, char encapsulator, char commentStart) {
9797
* @param unicodeEscapesInterpreted <tt>true</tt> when unicode escapes should be interpreted
9898
* @param emptyLinesIgnored <tt>true</tt> when the parser should skip emtpy lines
9999
*/
100-
public CSVFormat(
100+
CSVFormat(
101101
char delimiter,
102102
char encapsulator,
103103
char commentStart,

0 commit comments

Comments
 (0)