commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r412968 - /jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java
Date Fri, 09 Jun 2006 07:57:57 GMT
Author: bayard
Date: Fri Jun  9 00:57:54 2006
New Revision: 412968

URL: http://svn.apache.org/viewvc?rev=412968&view=rev
Log:
Moved back to JDK 1.3 compatibility. 

Modified:
    jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java

Modified: jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java
URL: http://svn.apache.org/viewvc/jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java?rev=412968&r1=412967&r2=412968&view=diff
==============================================================================
--- jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java (original)
+++ jakarta/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java Fri Jun
 9 00:57:54 2006
@@ -444,7 +444,8 @@
       } else {
         // prepend whitespaces (if we have)
         if (wsBuf.length() > 0) {
-          tkn.content.append(wsBuf);
+          // for J2SDK 1.3 compatibility we use toString()
+          tkn.content.append(wsBuf.toString());
           wsBuf.delete(0, wsBuf.length());
         }
         tkn.content.append((char) c);



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message