Carlos Sanchez wrote:
now the behaviour is consistent between empty lists and non empty if we want to make the list unmodifiable, both should but not just the empty one as before
Yes, I agree both should be unmodifiable (I have intellij set up to complain at me now when I leak that though I don't always worry about it).
All I meant, was there a specific example where this happened that led to the change?
- Brett