summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/data/util/BeanItem.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin/data/util/BeanItem.java')
-rw-r--r--server/src/com/vaadin/data/util/BeanItem.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/data/util/BeanItem.java b/server/src/com/vaadin/data/util/BeanItem.java
index 24eb2505e4..fc51be8f36 100644
--- a/server/src/com/vaadin/data/util/BeanItem.java
+++ b/server/src/com/vaadin/data/util/BeanItem.java
@@ -141,7 +141,7 @@ public class BeanItem<BT> extends PropertysetItem {
* @param propertyIds
* ids of the properties.
*/
- public BeanItem(BT bean, String[] propertyIds) {
+ public BeanItem(BT bean, String... propertyIds) {
this(bean, Arrays.asList(propertyIds));
}