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/declarative/DesignAttributeHandler.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/declarative/DesignAttributeHandler.java')
-rw-r--r-- | server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java b/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java index 44248d095b..00fb32392c 100644 --- a/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java +++ b/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java @@ -382,7 +382,7 @@ public class DesignAttributeHandler implements Serializable { return ""; } @SuppressWarnings("unchecked") - Converter<String, Object> converter = (Converter<String, Object>) getFormatter() + Converter<String, Object> converter = getFormatter() .findConverterFor(sourceType); if (converter != null) { return converter.convertToPresentation(value, new ValueContext()); |