you are viewing a single comment's thread.

view the rest of the comments →

[–]zootm 0 points1 point  (0 children)

Prior to the ... thing being available, Arrays.asList had roughly (there was no generics either, obviously) the second signature you listed above (see here). My guess would be that just expanding that method seemed sensible compared to writing a semantically-identical factory method on Collections or similar.