The IncorrectNumberOfArgumentsInExpression states that in an Expression, 2-3 expressions should be added instead of 1. However, using 2 expressions results in a Lint error. See this for an example of the Lint rule showing error for 2 expressions.
Expected behavior
IncorrectNumberOfArgumentsInExpression should not signal a lint error when using 2 expressions in eq.
Notes / preliminary analysis
IllegalNumberOfArgumentsDetector may not be detecting as expected.
Environment
Observed behavior and steps to reproduce
The
IncorrectNumberOfArgumentsInExpression
states that in anExpression
, 2-3 expressions should be added instead of 1. However, using 2 expressions results in a Lint error. See this for an example of the Lint rule showing error for 2 expressions.Expected behavior
IncorrectNumberOfArgumentsInExpression
should not signal a lint error when using 2 expressions ineq
.Notes / preliminary analysis
IllegalNumberOfArgumentsDetector
may not be detecting as expected.Additional links and references
Example repository: https://github.com/jsoberg/Mapbox-Android-App-Test-Template/pull/1/files