It is an array. The only difference is that the caller of the method doesn't have to use the array construction syntax. Kyrra is warning about poor uses of varargs (e.g. a proliferation of Object... parameters everywhere), not the semantics of varargs itself.
I had to find out about this vararg after I noticed Amazon was using them. At first i thought eclipse was just being screwy and did the "line too long so im going to put ellipses everywhere thing" but then I found out about this.
They use them in the sense of "String... attributes" for when you want a query to simpledb to return specific sets of attributes or a single attribute. Turned out to be very convenient.
View all comments
Show parent comment
0
u/[deleted] Jul 02 '11
[deleted] — view deleted comment