Skip to content

Commit 0051a83

Browse files
committed
Fix Javadocs typos
1 parent 1521cc2 commit 0051a83

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/org/apache/commons/csv/CSVFormat.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1859,7 +1859,7 @@ public CSVFormat withQuoteMode(final QuoteMode quoteModePolicy) {
18591859
* @param recordSeparator
18601860
* the record separator to use for output.
18611861
*
1862-
* @return A new CSVFormat that is equal to this but with the the specified output record separator
1862+
* @return A new CSVFormat that is equal to this but with the specified output record separator
18631863
*/
18641864
public CSVFormat withRecordSeparator(final char recordSeparator) {
18651865
return withRecordSeparator(String.valueOf(recordSeparator));
@@ -1876,7 +1876,7 @@ public CSVFormat withRecordSeparator(final char recordSeparator) {
18761876
* @param recordSeparator
18771877
* the record separator to use for output.
18781878
*
1879-
* @return A new CSVFormat that is equal to this but with the the specified output record separator
1879+
* @return A new CSVFormat that is equal to this but with the specified output record separator
18801880
* @throws IllegalArgumentException
18811881
* if recordSeparator is none of CR, LF or CRLF
18821882
*/

src/main/java/org/apache/commons/csv/Lexer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ long getCharacterPosition() {
326326
* @return the unescaped character (as an int) or {@link Constants#END_OF_STREAM} if char following the escape is
327327
* invalid.
328328
* @throws IOException if there is a problem reading the stream or the end of stream is detected:
329-
* the escape character is not allowed at end of strem
329+
* the escape character is not allowed at end of stream
330330
*/
331331
int readEscape() throws IOException {
332332
// the escape char has just been read (normally a backslash)

0 commit comments

Comments
 (0)