You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ja...@apache.org on 2011/01/31 09:50:59 UTC

svn commit: r1065526 - /commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java

Author: jacopoc
Date: Mon Jan 31 08:50:59 2011
New Revision: 1065526

URL: http://svn.apache.org/viewvc?rev=1065526&view=rev
Log:
Resolved warning caused by the usage of a deprecated constructor.

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

Modified: commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java
URL: http://svn.apache.org/viewvc/commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java?rev=1065526&r1=1065525&r2=1065526&view=diff
==============================================================================
--- commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java (original)
+++ commons/sandbox/csv/trunk/src/java/org/apache/commons/csv/CSVParser.java Mon Jan 31 08:50:59 2011
@@ -121,8 +121,7 @@ public class CSVParser {
    * @param input a Reader containing "csv-formatted" input
    */
   public CSVParser(Reader input) {
-    // note: must match default-CSV-strategy !!
-    this(input, ',');
+    this(input, (CSVStrategy)CSVStrategy.DEFAULT_STRATEGY.clone());
   }
   
   /**