diff options
author | Per-Åke Minborg <minborg@speedment.com> | 2016-10-28 22:54:08 -0700 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2016-11-05 03:56:37 +0200 |
commit | 399d7cd5c498b67da9c244ffa7135e872b1507b6 (patch) | |
tree | e222133e23c194bf6cc9624232679d9dfc62beae /server/src/main/java/com/vaadin/ui/Panel.java | |
parent | 7f28a0fd47ef3451efabffb2ecb227d8ce9608e5 (diff) | |
download | vaadin-framework-399d7cd5c498b67da9c244ffa7135e872b1507b6.tar.gz vaadin-framework-399d7cd5c498b67da9c244ffa7135e872b1507b6.zip |
Remove redundant casting
Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7232
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/Panel.java')
-rw-r--r-- | server/src/main/java/com/vaadin/ui/Panel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/ui/Panel.java b/server/src/main/java/com/vaadin/ui/Panel.java index 7b1333d898..95dddb0003 100644 --- a/server/src/main/java/com/vaadin/ui/Panel.java +++ b/server/src/main/java/com/vaadin/ui/Panel.java @@ -348,7 +348,7 @@ public class Panel extends AbstractSingleComponentContainer public void writeDesign(Element design, DesignContext designContext) { super.writeDesign(design, designContext); // handle tabindex - Panel def = (Panel) designContext.getDefaultInstance(this); + Panel def = designContext.getDefaultInstance(this); } } |