Skip to content

Commit 45d972f

Browse files
committed
Moved back to JDK 1.3 compatibility.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@412968 13f79535-47bb-0310-9956-ffa450edef68
1 parent 5c74297 commit 45d972f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,8 @@ private Token simpleTokenLexer(Token tkn, int c) throws IOException {
444444
} else {
445445
// prepend whitespaces (if we have)
446446
if (wsBuf.length() > 0) {
447-
tkn.content.append(wsBuf);
447+
// for J2SDK 1.3 compatibility we use toString()
448+
tkn.content.append(wsBuf.toString());
448449
wsBuf.delete(0, wsBuf.length());
449450
}
450451
tkn.content.append((char) c);

0 commit comments

Comments
 (0)