File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/csv Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -192,15 +192,15 @@ private static boolean isLineBreak(final char c) {
192192 * @throws IllegalStateException
193193 */
194194 void validate () throws IllegalStateException {
195- if (quoteChar != null && delimiter == quoteChar ) {
195+ if (quoteChar != null && delimiter == quoteChar . charValue () ) {
196196 throw new IllegalStateException ("The quoteChar character and the delimiter cannot be the same ('" + quoteChar + "')" );
197197 }
198198
199- if (escape != null && delimiter == escape ) {
199+ if (escape != null && delimiter == escape . charValue () ) {
200200 throw new IllegalStateException ("The escape character and the delimiter cannot be the same ('" + escape + "')" );
201201 }
202202
203- if (commentStart != null && delimiter == commentStart ) {
203+ if (commentStart != null && delimiter == commentStart . charValue () ) {
204204 throw new IllegalStateException ("The comment start character and the delimiter cannot be the same ('" + commentStart +
205205 "')" );
206206 }
You can’t perform that action at this time.
0 commit comments