aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/Window.java
diff options
context:
space:
mode:
authorPer-Åke Minborg <minborg@speedment.com>2016-10-28 09:03:12 -0700
committerVaadin Code Review <review@vaadin.com>2016-11-04 13:36:30 +0000
commitc1a027bc699a9c7fa52c534d34ef2f5a4e455633 (patch)
tree86ef822b251fe55860fcaf40118d644b7c4f73c5 /server/src/main/java/com/vaadin/ui/Window.java
parent92f1d4c34c5082bbfc8e328da78d66e6f772b704 (diff)
downloadvaadin-framework-c1a027bc699a9c7fa52c534d34ef2f5a4e455633.tar.gz
vaadin-framework-c1a027bc699a9c7fa52c534d34ef2f5a4e455633.zip
Pass array of length when possible
Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7220
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/Window.java')
-rw-r--r--server/src/main/java/com/vaadin/ui/Window.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/ui/Window.java b/server/src/main/java/com/vaadin/ui/Window.java
index f41a127b0f..1e4f43067f 100644
--- a/server/src/main/java/com/vaadin/ui/Window.java
+++ b/server/src/main/java/com/vaadin/ui/Window.java
@@ -1382,7 +1382,7 @@ public class Window extends Panel
}
}
super.readDesignChildren(content, context);
- setAssistiveDescription(descriptions.toArray(new Component[0]));
+ setAssistiveDescription(descriptions.toArray(new Component[descriptions.size()]));
}
@Override