You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code passes a single character string, or an empty string to String.indexOf(). Doing so is useless at best, and is also more inefficient than passing a character directly.
Occurrences
There are 5 occurrences of this issue in the repository.