Skip to content

Commit 58149e2

Browse files
committed
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
1 parent 339c2a6 commit 58149e2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,7 @@ public CSVParser(InputStream input) {
121121
* @param input a Reader containing "csv-formatted" input
122122
*/
123123
public CSVParser(Reader input) {
124-
// note: must match default-CSV-strategy !!
125-
this(input, ',');
124+
this(input, (CSVStrategy)CSVStrategy.DEFAULT_STRATEGY.clone());
126125
}
127126

128127
/**

0 commit comments

Comments
 (0)