diff options
author | Per-Åke Minborg <minborg@speedment.com> | 2016-10-28 09:03:12 -0700 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2016-11-04 13:36:30 +0000 |
commit | c1a027bc699a9c7fa52c534d34ef2f5a4e455633 (patch) | |
tree | 86ef822b251fe55860fcaf40118d644b7c4f73c5 /server/src/main | |
parent | 92f1d4c34c5082bbfc8e328da78d66e6f772b704 (diff) | |
download | vaadin-framework-c1a027bc699a9c7fa52c534d34ef2f5a4e455633.tar.gz vaadin-framework-c1a027bc699a9c7fa52c534d34ef2f5a4e455633.zip |
Pass array of length when possible
Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7220
Diffstat (limited to 'server/src/main')
-rw-r--r-- | server/src/main/java/com/vaadin/ui/Window.java | 2 |
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 |