From 58149e21ad7452ed45ce77b8095c0c2c7414d55b Mon Sep 17 00:00:00 2001 From: Jacopo Cappellato Date: Mon, 31 Jan 2011 08:50:59 +0000 Subject: [PATCH] Resolved warning caused by the usage of a deprecated constructor. git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1065526 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/csv/CSVParser.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/java/org/apache/commons/csv/CSVParser.java b/src/java/org/apache/commons/csv/CSVParser.java index edaca596..6ca4cb49 100644 --- a/src/java/org/apache/commons/csv/CSVParser.java +++ b/src/java/org/apache/commons/csv/CSVParser.java @@ -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()); } /**