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
We realized that in some classes when an empty immutable list needs to be passed as a parameter to a method, a new List instance is created. Instead, we propose the more appropriate alternative of Collections.emptyList() that uses the same immutable instance, An example of this issue can be found in line 38 of ParameterizedTypeName. For further details check the implementation of emptyList.
The text was updated successfully, but these errors were encountered:
We realized that in some classes when an empty immutable list needs to be passed as a parameter to a method, a new List instance is created. Instead, we propose the more appropriate alternative of Collections.emptyList() that uses the same immutable instance, An example of this issue can be found in line 38 of ParameterizedTypeName. For further details check the implementation of emptyList.
The text was updated successfully, but these errors were encountered: