diff options
author | Per-Åke Minborg <minborg@speedment.com> | 2016-10-28 23:06:25 -0700 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2016-11-05 03:56:53 +0200 |
commit | e6d654890ebbe6c2069a456fd77d0ac75425ee7e (patch) | |
tree | 849933b0032f9a32e645cce6fe0fe1b022250319 /server/src/main/java/com/vaadin/ui | |
parent | 399d7cd5c498b67da9c244ffa7135e872b1507b6 (diff) | |
download | vaadin-framework-e6d654890ebbe6c2069a456fd77d0ac75425ee7e.tar.gz vaadin-framework-e6d654890ebbe6c2069a456fd77d0ac75425ee7e.zip |
Remove another redundant cast
Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7234
Diffstat (limited to 'server/src/main/java/com/vaadin/ui')
-rw-r--r-- | server/src/main/java/com/vaadin/ui/PasswordField.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/ui/PasswordField.java b/server/src/main/java/com/vaadin/ui/PasswordField.java index 7a154b2b29..d357019539 100644 --- a/server/src/main/java/com/vaadin/ui/PasswordField.java +++ b/server/src/main/java/com/vaadin/ui/PasswordField.java @@ -72,7 +72,7 @@ public class PasswordField extends TextField { @Override public void writeDesign(Element design, DesignContext designContext) { super.writeDesign(design, designContext); - AbstractTextField def = (AbstractTextField) designContext + AbstractTextField def = designContext .getDefaultInstance(this); Attributes attr = design.attributes(); DesignAttributeHandler.writeAttribute("value", attr, getValue(), |