aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2016-08-18 23:19:41 +0300
committerArtur Signell <artur@vaadin.com>2016-08-22 15:59:51 +0300
commitc6b44ac8adc9b2ffd6290c98643a633f405dd6c6 (patch)
tree634982e9a789452ab8046e660a9170cc8b25623f /server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
parentec8904f6b0ab77231d567daa35c9cc7138b6fe59 (diff)
downloadvaadin-framework-c6b44ac8adc9b2ffd6290c98643a633f405dd6c6.tar.gz
vaadin-framework-c6b44ac8adc9b2ffd6290c98643a633f405dd6c6.zip
Move and rename server classes which go into the compatibility package
* Use com.vaadin.v7 * Use the same class name as in Vaadin 7 * Use a "vaadin7-" declarative prefix for Vaadin 7 components Change-Id: I19a27f3835b18980b91a4f8f9464b2adde1a5fd5
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.java4
1 files changed, 2 insertions, 2 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 c38f2bf040..f6607c91e4 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
@@ -39,7 +39,7 @@ import org.jsoup.nodes.Node;
import com.vaadin.shared.ui.AlignmentInfo;
import com.vaadin.shared.util.SharedUtil;
import com.vaadin.ui.Alignment;
-import com.vaadin.v7.data.util.converter.LegacyConverter;
+import com.vaadin.v7.data.util.converter.Converter;
/**
* Default attribute handler implementation used when parsing designs to
@@ -379,7 +379,7 @@ public class DesignAttributeHandler implements Serializable {
// value is not null. How to represent null value in attributes?
return "";
}
- LegacyConverter<String, Object> converter = getFormatter()
+ Converter<String, Object> converter = getFormatter()
.findConverterFor(sourceType);
if (converter != null) {
return converter.convertToPresentation(value, String.class, null);