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
Sure you can't insert in this list anything else instead Boolean.
Maybe you mistake ? super Boolean with ? extends Boolean ?
Anyway, these bounds include bound type, so it does not matter is class final or not, a definition will always compile. And usage in your sample is correct (check original code).
Here sample code to show differents between these bounds (JLS docs can be found here):
CC from #913
Class
io.reactivex.internal.operators.observable.ObservableAny
But
java.lang.Boolean
is a final class, and? super java.lang.Boolean
is illegal typeAPK: https://drive.google.com/file/d/1qC3tlWs9AtPBpyS6iU9kcSphLryfJOxi/view
The text was updated successfully, but these errors were encountered: