Suggest using contains
(or Arrays.asList(....).contains
)
#620
Labels
api
lints that check for code that reimplements parts of the api
enhancement
New feature or request
new-lint
A new lint.
What it does
Finds code where
contains
is manually implemented through a for loop.Lint Name
USE_CONTAINS
Category
api
Example
Could be written as:
The text was updated successfully, but these errors were encountered: