Make it eclipse compatible

proposal.
These two point of code make use of some smart generics, but Eclipse doesn't recognize it and reports compilation errors.
ahh right.
Interesting, I was expecting asList() to make a defensive copy, as usually the standard collections do.

Yes I agree the difference is neglegtable in practice. But it's still interesting to keep in mind, as surely the differences will add up when doing "the right thing" in many thousand methods.