Skip to content

Commit bf18639

Browse files
committed
trivial cleanup of javadoc errors
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@501549 13f79535-47bb-0310-9956-ffa450edef68
1 parent 3c08f7a commit bf18639

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,9 @@ Token reset() {
104104
// ======================================================
105105

106106
/**
107-
* Default strategy for the parser follows the default CSV Strategy.
107+
* Default strategy for the parser follows the default {@link CSVStrategy}.
108108
*
109109
* @param input an InputStream containing "csv-formatted" stream
110-
* @see #setStrategy()
111110
* @deprecated use {@link #CSVParser(Reader)}.
112111
*/
113112
public CSVParser(InputStream input) {
@@ -118,7 +117,6 @@ public CSVParser(InputStream input) {
118117
* CSV parser using the default {@link CSVStrategy}.
119118
*
120119
* @param input a Reader containing "csv-formatted" input
121-
* @see #setStrategy()
122120
*/
123121
public CSVParser(Reader input) {
124122
// note: must match default-CSV-strategy !!
@@ -128,8 +126,8 @@ public CSVParser(Reader input) {
128126
/**
129127
* Customized value delimiter parser.
130128
*
131-
* The parser follows the default CSV strategy as defined in
132-
* {@link #setStrategy()} except for the delimiter setting.
129+
* The parser follows the default {@link CSVStrategy}
130+
* except for the delimiter setting.
133131
*
134132
* @param input a Reader based on "csv-formatted" input
135133
* @param delimiter a Char used for value separation

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,11 @@ public static String printLine(String[] values) {
7575
// ======================================================
7676

7777
/**
78-
* Parses the given String according to the default CSV strategy.
78+
* Parses the given String according to the default {@link CSVStrategy}.
7979
*
8080
* @param s CSV String to be parsed.
8181
* @return parsed String matrix (which is never null)
8282
* @throws IOException in case of error
83-
* @see #setStrategy()
8483
*/
8584
public static String[][] parse(String s) throws IOException {
8685
if (s == null) {
@@ -96,15 +95,14 @@ public static String[][] parse(String s) throws IOException {
9695
}
9796

9897
/**
99-
* Parses the first line only according to the default CSV strategy.
98+
* Parses the first line only according to the default {@link CSVStrategy}.
10099
*
101100
* Parsing empty string will be handled as valid records containing zero
102101
* elements, so the following property holds: parseLine("").length == 0.
103102
*
104103
* @param s CSV String to be parsed.
105104
* @return parsed String vector (which is never null)
106105
* @throws IOException in case of error
107-
* @see #setStrategy()
108106
*/
109107
public static String[] parseLine(String s) throws IOException {
110108
if (s == null) {

0 commit comments

Comments
 (0)