@@ -135,7 +135,6 @@ public class CSVFormat implements Serializable {
135135 .withEscape ('\\' )
136136 .withLineSeparator ("\n " );
137137
138-
139138 /**
140139 * Creates a customized CSV format.
141140 *
@@ -235,7 +234,6 @@ public CSVFormat withDelimiter(char delimiter) {
235234 if (isLineBreak (delimiter )) {
236235 throw new IllegalArgumentException ("The delimiter cannot be a line break" );
237236 }
238-
239237 return new CSVFormat (delimiter , encapsulator , commentStart , escape , surroundingSpacesIgnored ,
240238 emptyLinesIgnored , lineSeparator , header );
241239 }
@@ -262,7 +260,6 @@ public CSVFormat withEncapsulator(char encapsulator) {
262260 if (isLineBreak (encapsulator )) {
263261 throw new IllegalArgumentException ("The encapsulator cannot be a line break" );
264262 }
265-
266263 return new CSVFormat (delimiter , encapsulator , commentStart , escape , surroundingSpacesIgnored ,
267264 emptyLinesIgnored , lineSeparator , header );
268265 }
@@ -300,7 +297,6 @@ public CSVFormat withCommentStart(char commentStart) {
300297 if (isLineBreak (commentStart )) {
301298 throw new IllegalArgumentException ("The comment start character cannot be a line break" );
302299 }
303-
304300 return new CSVFormat (delimiter , encapsulator , commentStart , escape , surroundingSpacesIgnored ,
305301 emptyLinesIgnored , lineSeparator , header );
306302 }
@@ -338,7 +334,6 @@ public CSVFormat withEscape(char escape) {
338334 if (isLineBreak (escape )) {
339335 throw new IllegalArgumentException ("The escape character cannot be a line break" );
340336 }
341-
342337 return new CSVFormat (delimiter , encapsulator , commentStart , escape , surroundingSpacesIgnored ,
343338 emptyLinesIgnored , lineSeparator , header );
344339 }
0 commit comments