Skip to content

Commit

Permalink
spelling: fix mistypes in SuppressWithNearbyCommentFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
pbludov authored and rnveach committed Oct 7, 2021
1 parent 73386e5 commit ce196be
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public class SuppressWithNearbyCommentFilter
extends AutomaticBean
implements TreeWalkerFilter {

/** Format to turns checkstyle reporting off. */
/** Format to turn checkstyle reporting off. */
private static final String DEFAULT_COMMENT_FORMAT =
"SUPPRESS CHECKSTYLE (\\w+)";

Expand Down Expand Up @@ -579,7 +579,7 @@ private static final class Tag {
* @param influenceFormat raw influence format
* @param text text of the suppression
* @return parsed influence
* @throws IllegalArgumentException when unbale to parse int in format
* @throws IllegalArgumentException when unable to parse int in format
*/
private static int parseInfluence(String format, String influenceFormat, String text) {
try {
Expand Down

0 comments on commit ce196be

Please sign in to comment.