API improvements via variadic parameters

Another suggestion for Vaadin 7…

There are several Vaadin API methods that could benefit from variadic arguments. E.g., this method:

Table.setVisibleColumns(Object[] visibleColumns);

should be changed to:

setVisibleColumns(Object... visibleColumns);

This would reduce the amount of typing required by the developer, and would also be backward compatible.

See
enchancement request #4513
.

Thanks.

How come the milestone is set to “Backlog” instead of “Vaadin7” ?

This change would take 10 minutes, and now is the time to do it, when there is a major version number increase.

I added a
patch
to issue #4513 to help with motivation :slight_smile: