Skip to content

Commit 5cbfe40

Browse files
committed
add replacement notes for deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@483700 13f79535-47bb-0310-9956-ffa450edef68
1 parent 87d5f87 commit 5cbfe40

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Token reset() {
108108
*
109109
* @param input an InputStream containing "csv-formatted" stream
110110
* @see #setStrategy()
111-
* @deprecated
111+
* @deprecated use {@link #CSVParser(Reader)}.
112112
*/
113113
public CSVParser(InputStream input) {
114114
this(new InputStreamReader(input));
@@ -133,7 +133,7 @@ public CSVParser(Reader input) {
133133
*
134134
* @param input a Reader based on "csv-formatted" input
135135
* @param delimiter a Char used for value separation
136-
* @deprecated
136+
* @deprecated use {@link #CSVParser(Reader,CSVStrategy)}.
137137
*/
138138
public CSVParser(Reader input, char delimiter) {
139139
this(input, delimiter, '"', (char) 0);
@@ -150,7 +150,7 @@ public CSVParser(Reader input, char delimiter) {
150150
* @param delimiter a Char used for value separation
151151
* @param encapsulator a Char used as value encapsulation marker
152152
* @param commentStart a Char used for comment identification
153-
* @deprecated
153+
* @deprecated use {@link #CSVParser(Reader,CSVStrategy)}.
154154
*/
155155
public CSVParser(Reader input, char delimiter, char encapsulator, char commentStart) {
156156
this(input, new CSVStrategy(delimiter, encapsulator, commentStart));
@@ -564,7 +564,7 @@ protected int unicodeEscapeLexer(int c) throws IOException {
564564
* Sets the specified CSV Strategy
565565
*
566566
* @return current instance of CSVParser to allow chained method calls
567-
* @deprecated
567+
* @deprecated the strategy should be set in the constructor {@link #CSVParser(Reader,CSVStrategy)}.
568568
*/
569569
public CSVParser setStrategy(CSVStrategy strategy) {
570570
this.strategy = strategy;

0 commit comments

Comments
 (0)