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)