summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/Form.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-06-26 09:41:17 +0300
committerVaadin Code Review <review@vaadin.com>2013-06-26 07:54:32 +0000
commit6c10136ae17f62c37c65805ff8847d86ce1733f7 (patch)
treefd40db14693bf405447d1255cc3bdc703bafb6f2 /server/src/com/vaadin/ui/Form.java
parent172d704fe372885e81cc83fe768281e40decfb3a (diff)
downloadvaadin-framework-6c10136ae17f62c37c65805ff8847d86ce1733f7.tar.gz
vaadin-framework-6c10136ae17f62c37c65805ff8847d86ce1733f7.zip
Use varargs instead of array where appropriate (#4513)
Change-Id: Ide9349b6afa7e56ae04b7727134971ebf81c0b03
Diffstat (limited to 'server/src/com/vaadin/ui/Form.java')
-rw-r--r--server/src/com/vaadin/ui/Form.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/Form.java b/server/src/com/vaadin/ui/Form.java
index 9d0bb41cac..706c103cd7 100644
--- a/server/src/com/vaadin/ui/Form.java
+++ b/server/src/com/vaadin/ui/Form.java
@@ -1131,7 +1131,7 @@ public class Form extends AbstractField<Object> implements Item.Editor,
* @param visibleProperties
* the visibleProperties to set.
*/
- public void setVisibleItemProperties(Object[] visibleProperties) {
+ public void setVisibleItemProperties(Object... visibleProperties) {
LinkedList<Object> v = new LinkedList<Object>();
for (int i = 0; i < visibleProperties.length; i++) {
v.add(visibleProperties[i]);