diff options
author | Artur Signell <artur@vaadin.com> | 2014-12-15 22:10:23 +0200 |
---|---|---|
committer | Mika Murtojarvi <mika@vaadin.com> | 2014-12-16 15:58:58 +0200 |
commit | 0de94d55c9c04aa93b66e6d6a83935d9ed25da5e (patch) | |
tree | 1decae8b19c0cd00ec18ee5daa79624a043f32c9 /server/src/com/vaadin/ui/AbstractField.java | |
parent | 6d96447d5d3d4c1f22c7d49478c1b10a62bf64e7 (diff) | |
download | vaadin-framework-0de94d55c9c04aa93b66e6d6a83935d9ed25da5e.tar.gz vaadin-framework-0de94d55c9c04aa93b66e6d6a83935d9ed25da5e.zip |
Generic cleanup (#7749)
Change-Id: I274009ff733eeba6ac312324d0ba946f64d1a26a
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractField.java')
-rw-r--r-- | server/src/com/vaadin/ui/AbstractField.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/AbstractField.java b/server/src/com/vaadin/ui/AbstractField.java index b5f02e5b2a..6d4b5ff2d7 100644 --- a/server/src/com/vaadin/ui/AbstractField.java +++ b/server/src/com/vaadin/ui/AbstractField.java @@ -1797,7 +1797,8 @@ public abstract class AbstractField<T> extends AbstractComponent implements @Override public void writeDesign(Element design, DesignContext designContext) { super.writeDesign(design, designContext); - AbstractField def = designContext.getDefaultInstance(this); + AbstractField def = (AbstractField) designContext + .getDefaultInstance(this); Attributes attr = design.attributes(); // handle readonly DesignAttributeHandler.writeAttribute("readonly", attr, |