]> source.dussan.org Git - vaadin-framework.git/commitdiff
Remove another redundant cast
authorPer-Åke Minborg <minborg@speedment.com>
Sat, 29 Oct 2016 06:06:25 +0000 (23:06 -0700)
committerHenri Sara <hesara@vaadin.com>
Sat, 5 Nov 2016 01:56:53 +0000 (03:56 +0200)
Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7234

server/src/main/java/com/vaadin/ui/PasswordField.java

index 7a154b2b294662416744984b541162dd2ec1ed33..d35701953948064199077f53d82aa4c700660100 100644 (file)
@@ -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(),