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
When converting a primitive array into a List of its wrapper type, boxing has to be done explicitly. Therefore the conversion with Arrays.asList(T...) cannot be used in this case but it wrongfully suggested in order to use Collection#addAll instead of single add by looping through the array.
Summary
When converting a primitive array into a List of its wrapper type, boxing has to be done explicitly. Therefore the conversion with
Arrays.asList(T...)
cannot be used in this case but it wrongfully suggested in order to useCollection#addAll
instead of single add by looping through the array.Lint Name
COMMON_REIMPLEMENTATION_ADD_ALL
Reproducer
The text was updated successfully, but these errors were encountered: