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
I think that the Java example in the "Concise and powerful. (...)" slide is not doing what the corresponding Scala code is doing. The last line might overwrite the contents of minors (which at this point is an alias to people) with that of adultsList.
I think that the Java example in the "Concise and powerful. (...)" slide is not doing what the corresponding Scala code is doing. The last line might overwrite the contents of
minors
(which at this point is an alias topeople
) with that ofadultsList
.Fix: replace the last two lines with
The text was updated successfully, but these errors were encountered: