From 0051a83dcdceb818562fd30d7f195b91a549985f Mon Sep 17 00:00:00 2001 From: "Bruno P. Kinoshita" Date: Sun, 22 Oct 2017 00:13:22 +1300 Subject: [PATCH] Fix Javadocs typos --- src/main/java/org/apache/commons/csv/CSVFormat.java | 4 ++-- src/main/java/org/apache/commons/csv/Lexer.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java index 00f1064a..58948fdc 100644 --- a/src/main/java/org/apache/commons/csv/CSVFormat.java +++ b/src/main/java/org/apache/commons/csv/CSVFormat.java @@ -1859,7 +1859,7 @@ public final class CSVFormat implements Serializable { * @param recordSeparator * the record separator to use for output. * - * @return A new CSVFormat that is equal to this but with the the specified output record separator + * @return A new CSVFormat that is equal to this but with the specified output record separator */ public CSVFormat withRecordSeparator(final char recordSeparator) { return withRecordSeparator(String.valueOf(recordSeparator)); @@ -1876,7 +1876,7 @@ public final class CSVFormat implements Serializable { * @param recordSeparator * the record separator to use for output. * - * @return A new CSVFormat that is equal to this but with the the specified output record separator + * @return A new CSVFormat that is equal to this but with the specified output record separator * @throws IllegalArgumentException * if recordSeparator is none of CR, LF or CRLF */ diff --git a/src/main/java/org/apache/commons/csv/Lexer.java b/src/main/java/org/apache/commons/csv/Lexer.java index 8106532a..76fa81ee 100644 --- a/src/main/java/org/apache/commons/csv/Lexer.java +++ b/src/main/java/org/apache/commons/csv/Lexer.java @@ -326,7 +326,7 @@ final class Lexer implements Closeable { * @return the unescaped character (as an int) or {@link Constants#END_OF_STREAM} if char following the escape is * invalid. * @throws IOException if there is a problem reading the stream or the end of stream is detected: - * the escape character is not allowed at end of strem + * the escape character is not allowed at end of stream */ int readEscape() throws IOException { // the escape char has just been read (normally a backslash)