Replace isLetter || isDigit
with isLetterOrDigit
#540
Labels
api
lints that check for code that reimplements parts of the api
D-easy
Easy to implement.
enhancement
New feature or request
new-lint
A new lint.
What it does
Detects
CtBinaryExpression<Boolean>
that can be replaced by a call toCharacter.isLetterOrDigit()
.The implementation is easy, visit all
CtBinaryExpression
and check that they match the below format.Lint Name
CHAR_LETTER_OR_DIGIT
Category
api
Example
Could be written as:
Could be written as:
The text was updated successfully, but these errors were encountered: