Skip to content

Commit f80c5bd

Browse files
committed
Rename "encapsulator" to "quoteChar" so we have quoteChar and quotePolicy. Encapsulator makes me want to ask "encapsulate what"? fieldEncapsulator would be better but so verbose, quoteChar feels more to the point to me and provides symmetry with quotePolicy.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1398012 13f79535-47bb-0310-9956-ffa450edef68
1 parent f6c9a36 commit f80c5bd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,11 @@ public class CSVFormat implements Serializable {
146146
* @param header
147147
* the header
148148
*/
149-
public CSVFormat(final char delimiter, final Character encapsulator, final Quote quotePolicy, final Character commentStart, final Character escape, final
149+
public CSVFormat(final char delimiter, final Character quoteChar, final Quote quotePolicy, final Character commentStart, final Character escape, final
150150
boolean ignoreSurroundingSpaces, final boolean ignoreEmptyLines, final String lineSeparator,
151151
final String[] header) {
152152
this.delimiter = delimiter;
153-
this.quoteChar = encapsulator;
153+
this.quoteChar = quoteChar;
154154
this.quotePolicy = quotePolicy;
155155
this.commentStart = commentStart;
156156
this.escape = escape;

0 commit comments

Comments
 (0)