Skip to content

Commit d5cc0d8

Browse files
committed
Replace magic String with constant from Constants.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1495912 13f79535-47bb-0310-9956-ffa450edef68
1 parent 5a0894f commit d5cc0d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ CSVRecord nextRecord() throws IOException {
207207
if (sb == null) { // first comment for this record
208208
sb = new StringBuilder();
209209
} else {
210-
sb.append("\n");
210+
sb.append(Constants.LF);
211211
}
212212
sb.append(reusableToken.content);
213213
reusableToken.type = TOKEN; // Read another token

0 commit comments

Comments
 (0)