From bf186393db6502561f54b09a09766a0287335b5c Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Tue, 30 Jan 2007 20:39:40 +0000 Subject: [PATCH] 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 --- src/java/org/apache/commons/csv/CSVParser.java | 8 +++----- src/java/org/apache/commons/csv/CSVUtils.java | 6 ++---- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/java/org/apache/commons/csv/CSVParser.java b/src/java/org/apache/commons/csv/CSVParser.java index 52d599db..71b384f0 100644 --- a/src/java/org/apache/commons/csv/CSVParser.java +++ b/src/java/org/apache/commons/csv/CSVParser.java @@ -104,10 +104,9 @@ public class CSVParser { // ====================================================== /** - * Default strategy for the parser follows the default CSV Strategy. + * Default strategy for the parser follows the default {@link CSVStrategy}. * * @param input an InputStream containing "csv-formatted" stream - * @see #setStrategy() * @deprecated use {@link #CSVParser(Reader)}. */ public CSVParser(InputStream input) { @@ -118,7 +117,6 @@ public class CSVParser { * CSV parser using the default {@link CSVStrategy}. * * @param input a Reader containing "csv-formatted" input - * @see #setStrategy() */ public CSVParser(Reader input) { // note: must match default-CSV-strategy !! @@ -128,8 +126,8 @@ public class CSVParser { /** * Customized value delimiter parser. * - * The parser follows the default CSV strategy as defined in - * {@link #setStrategy()} except for the delimiter setting. + * The parser follows the default {@link CSVStrategy} + * except for the delimiter setting. * * @param input a Reader based on "csv-formatted" input * @param delimiter a Char used for value separation diff --git a/src/java/org/apache/commons/csv/CSVUtils.java b/src/java/org/apache/commons/csv/CSVUtils.java index 561ef353..5099aabd 100644 --- a/src/java/org/apache/commons/csv/CSVUtils.java +++ b/src/java/org/apache/commons/csv/CSVUtils.java @@ -75,12 +75,11 @@ public class CSVUtils { // ====================================================== /** - * Parses the given String according to the default CSV strategy. + * Parses the given String according to the default {@link CSVStrategy}. * * @param s CSV String to be parsed. * @return parsed String matrix (which is never null) * @throws IOException in case of error - * @see #setStrategy() */ public static String[][] parse(String s) throws IOException { if (s == null) { @@ -96,7 +95,7 @@ public class CSVUtils { } /** - * Parses the first line only according to the default CSV strategy. + * Parses the first line only according to the default {@link CSVStrategy}. * * Parsing empty string will be handled as valid records containing zero * elements, so the following property holds: parseLine("").length == 0. @@ -104,7 +103,6 @@ public class CSVUtils { * @param s CSV String to be parsed. * @return parsed String vector (which is never null) * @throws IOException in case of error - * @see #setStrategy() */ public static String[] parseLine(String s) throws IOException { if (s == null) {