Skip to content

Commit

Permalink
Fix typos in DefaultParser
Browse files Browse the repository at this point in the history
  • Loading branch information
valencik committed Oct 3, 2018
1 parent 80aa625 commit 1ba6424
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reader/src/main/java/org/jline/reader/impl/DefaultParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public ParsedLine parse(final String line, final int cursor, ParseContext contex

/**
* Returns true if the specified character is a whitespace parameter. Check to ensure that the character is not
* escaped by any of {@link #getQuoteChars}, and is not escaped by ant of the {@link #getEscapeChars}, and
* escaped by any of {@link #getQuoteChars}, and is not escaped by any of the {@link #getEscapeChars}, and
* returns true from {@link #isDelimiterChar}.
*
* @param buffer The complete command buffer
Expand Down Expand Up @@ -251,7 +251,7 @@ public boolean isEscaped(final CharSequence buffer, final int pos) {

/**
* Returns true if the character at the specified position if a delimiter. This method will only be called if
* the character is not enclosed in any of the {@link #getQuoteChars}, and is not escaped by ant of the
* the character is not enclosed in any of the {@link #getQuoteChars}, and is not escaped by any of the
* {@link #getEscapeChars}. To perform escaping manually, override {@link #isDelimiter} instead.
*
* @param buffer
Expand Down

0 comments on commit 1ba6424

Please sign in to comment.