aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2016-12-14 17:00:11 +0200
committerIlia Motornyi <elmot@vaadin.com>2016-12-14 17:00:11 +0200
commit66e7b3df3d96c221933618d06a3e25360db1b6b7 (patch)
treeac5532dfd89a78a63afbddd83820045c8b606d93 /server/src/main/java/com/vaadin
parent1829fcdaa8d23c9d80929561a6f13e89af69fb54 (diff)
downloadvaadin-framework-66e7b3df3d96c221933618d06a3e25360db1b6b7.tar.gz
vaadin-framework-66e7b3df3d96c221933618d06a3e25360db1b6b7.zip
Rename com.vaadin.data.util.converter to com.vaadin.data.converter
Diffstat (limited to 'server/src/main/java/com/vaadin')
-rw-r--r--server/src/main/java/com/vaadin/data/BeanBinder.java1
-rw-r--r--server/src/main/java/com/vaadin/data/Binder.java4
-rw-r--r--server/src/main/java/com/vaadin/data/Converter.java (renamed from server/src/main/java/com/vaadin/data/util/converter/Converter.java)4
-rw-r--r--server/src/main/java/com/vaadin/data/ErrorMessageProvider.java1
-rw-r--r--server/src/main/java/com/vaadin/data/Validator.java1
-rw-r--r--server/src/main/java/com/vaadin/data/ValueContext.java (renamed from server/src/main/java/com/vaadin/data/util/converter/ValueContext.java)2
-rw-r--r--server/src/main/java/com/vaadin/data/converter/AbstractStringToNumberConverter.java (renamed from server/src/main/java/com/vaadin/data/util/converter/AbstractStringToNumberConverter.java)4
-rw-r--r--server/src/main/java/com/vaadin/data/converter/DateToLongConverter.java (renamed from server/src/main/java/com/vaadin/data/util/converter/DateToLongConverter.java)4
-rw-r--r--server/src/main/java/com/vaadin/data/converter/DateToSqlDateConverter.java (renamed from server/src/main/java/com/vaadin/data/util/converter/DateToSqlDateConverter.java)4
-rw-r--r--server/src/main/java/com/vaadin/data/converter/StringToBigDecimalConverter.java (renamed from server/src/main/java/com/vaadin/data/util/converter/StringToBigDecimalConverter.java)3
-rw-r--r--server/src/main/java/com/vaadin/data/converter/StringToBigIntegerConverter.java (renamed from server/src/main/java/com/vaadin/data/util/converter/StringToBigIntegerConverter.java)3
-rw-r--r--server/src/main/java/com/vaadin/data/converter/StringToBooleanConverter.java (renamed from server/src/main/java/com/vaadin/data/util/converter/StringToBooleanConverter.java)4
-rw-r--r--server/src/main/java/com/vaadin/data/converter/StringToDateConverter.java (renamed from server/src/main/java/com/vaadin/data/util/converter/StringToDateConverter.java)4
-rw-r--r--server/src/main/java/com/vaadin/data/converter/StringToDoubleConverter.java (renamed from server/src/main/java/com/vaadin/data/util/converter/StringToDoubleConverter.java)3
-rw-r--r--server/src/main/java/com/vaadin/data/converter/StringToFloatConverter.java (renamed from server/src/main/java/com/vaadin/data/util/converter/StringToFloatConverter.java)3
-rw-r--r--server/src/main/java/com/vaadin/data/converter/StringToIntegerConverter.java (renamed from server/src/main/java/com/vaadin/data/util/converter/StringToIntegerConverter.java)3
-rw-r--r--server/src/main/java/com/vaadin/data/converter/StringToLongConverter.java (renamed from server/src/main/java/com/vaadin/data/util/converter/StringToLongConverter.java)3
-rw-r--r--server/src/main/java/com/vaadin/data/validator/BeanValidator.java2
-rw-r--r--server/src/main/java/com/vaadin/data/validator/RangeValidator.java2
-rw-r--r--server/src/main/java/com/vaadin/data/validator/RegexpValidator.java2
-rw-r--r--server/src/main/java/com/vaadin/data/validator/StringLengthValidator.java2
-rw-r--r--server/src/main/java/com/vaadin/ui/AbstractDateField.java2
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java4
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/DesignFormatter.java10
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/converters/DesignDateConverter.java4
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/converters/DesignEnumConverter.java4
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/converters/DesignLocalDateConverter.java4
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/converters/DesignObjectConverter.java4
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/converters/DesignResourceConverter.java4
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/converters/DesignShortcutActionConverter.java4
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/converters/DesignTimeZoneConverter.java4
-rw-r--r--server/src/main/java/com/vaadin/ui/declarative/converters/DesignToStringConverter.java4
32 files changed, 58 insertions, 49 deletions
diff --git a/server/src/main/java/com/vaadin/data/BeanBinder.java b/server/src/main/java/com/vaadin/data/BeanBinder.java
index 64beee5264..690c2eb849 100644
--- a/server/src/main/java/com/vaadin/data/BeanBinder.java
+++ b/server/src/main/java/com/vaadin/data/BeanBinder.java
@@ -35,7 +35,6 @@ import java.util.function.BiConsumer;
import com.googlecode.gentyref.GenericTypeReflector;
import com.vaadin.annotations.PropertyId;
import com.vaadin.data.util.BeanUtil;
-import com.vaadin.data.util.converter.Converter;
import com.vaadin.data.validator.BeanValidator;
import com.vaadin.server.SerializableBiConsumer;
import com.vaadin.server.SerializableFunction;
diff --git a/server/src/main/java/com/vaadin/data/Binder.java b/server/src/main/java/com/vaadin/data/Binder.java
index c419caf7b0..2d0ec613e0 100644
--- a/server/src/main/java/com/vaadin/data/Binder.java
+++ b/server/src/main/java/com/vaadin/data/Binder.java
@@ -31,9 +31,7 @@ import java.util.Set;
import java.util.stream.Collectors;
import com.vaadin.data.HasValue.ValueChangeEvent;
-import com.vaadin.data.util.converter.Converter;
-import com.vaadin.data.util.converter.StringToIntegerConverter;
-import com.vaadin.data.util.converter.ValueContext;
+import com.vaadin.data.converter.StringToIntegerConverter;
import com.vaadin.event.EventRouter;
import com.vaadin.server.ErrorMessage;
import com.vaadin.server.SerializableBiConsumer;
diff --git a/server/src/main/java/com/vaadin/data/util/converter/Converter.java b/server/src/main/java/com/vaadin/data/Converter.java
index 6d58e54613..cf59a0fc0c 100644
--- a/server/src/main/java/com/vaadin/data/util/converter/Converter.java
+++ b/server/src/main/java/com/vaadin/data/Converter.java
@@ -14,13 +14,11 @@
* the License.
*/
-package com.vaadin.data.util.converter;
+package com.vaadin.data;
import java.io.Serializable;
import java.util.function.Function;
-import com.vaadin.data.Binder.BindingBuilder;
-import com.vaadin.data.Result;
import com.vaadin.server.SerializableFunction;
/**
diff --git a/server/src/main/java/com/vaadin/data/ErrorMessageProvider.java b/server/src/main/java/com/vaadin/data/ErrorMessageProvider.java
index 71a6723634..0c65f0f8c2 100644
--- a/server/src/main/java/com/vaadin/data/ErrorMessageProvider.java
+++ b/server/src/main/java/com/vaadin/data/ErrorMessageProvider.java
@@ -15,7 +15,6 @@
*/
package com.vaadin.data;
-import com.vaadin.data.util.converter.ValueContext;
import com.vaadin.server.SerializableFunction;
/**
diff --git a/server/src/main/java/com/vaadin/data/Validator.java b/server/src/main/java/com/vaadin/data/Validator.java
index 33da20b945..8fc5b0785e 100644
--- a/server/src/main/java/com/vaadin/data/Validator.java
+++ b/server/src/main/java/com/vaadin/data/Validator.java
@@ -20,7 +20,6 @@ import java.io.Serializable;
import java.util.Objects;
import java.util.function.BiFunction;
-import com.vaadin.data.util.converter.ValueContext;
import com.vaadin.server.SerializablePredicate;
/**
diff --git a/server/src/main/java/com/vaadin/data/util/converter/ValueContext.java b/server/src/main/java/com/vaadin/data/ValueContext.java
index d478692b4f..d333db6995 100644
--- a/server/src/main/java/com/vaadin/data/util/converter/ValueContext.java
+++ b/server/src/main/java/com/vaadin/data/ValueContext.java
@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
-package com.vaadin.data.util.converter;
+package com.vaadin.data;
import java.io.Serializable;
import java.util.Locale;
diff --git a/server/src/main/java/com/vaadin/data/util/converter/AbstractStringToNumberConverter.java b/server/src/main/java/com/vaadin/data/converter/AbstractStringToNumberConverter.java
index e7f4476f66..2aefb43567 100644
--- a/server/src/main/java/com/vaadin/data/util/converter/AbstractStringToNumberConverter.java
+++ b/server/src/main/java/com/vaadin/data/converter/AbstractStringToNumberConverter.java
@@ -14,13 +14,15 @@
* the License.
*/
-package com.vaadin.data.util.converter;
+package com.vaadin.data.converter;
import java.text.NumberFormat;
import java.text.ParsePosition;
import java.util.Locale;
+import com.vaadin.data.Converter;
import com.vaadin.data.Result;
+import com.vaadin.data.ValueContext;
/**
* A converter that converts from the number type T to {@link String} and back.
diff --git a/server/src/main/java/com/vaadin/data/util/converter/DateToLongConverter.java b/server/src/main/java/com/vaadin/data/converter/DateToLongConverter.java
index bd51181f5e..cdb40ecfa9 100644
--- a/server/src/main/java/com/vaadin/data/util/converter/DateToLongConverter.java
+++ b/server/src/main/java/com/vaadin/data/converter/DateToLongConverter.java
@@ -14,11 +14,13 @@
* the License.
*/
-package com.vaadin.data.util.converter;
+package com.vaadin.data.converter;
import java.util.Date;
+import com.vaadin.data.Converter;
import com.vaadin.data.Result;
+import com.vaadin.data.ValueContext;
/**
* A converter that converts from {@link Long} to {@link Date} and back.
diff --git a/server/src/main/java/com/vaadin/data/util/converter/DateToSqlDateConverter.java b/server/src/main/java/com/vaadin/data/converter/DateToSqlDateConverter.java
index 1fb7584e90..7e899a19ab 100644
--- a/server/src/main/java/com/vaadin/data/util/converter/DateToSqlDateConverter.java
+++ b/server/src/main/java/com/vaadin/data/converter/DateToSqlDateConverter.java
@@ -17,11 +17,13 @@
/**
*
*/
-package com.vaadin.data.util.converter;
+package com.vaadin.data.converter;
import java.util.Date;
+import com.vaadin.data.Converter;
import com.vaadin.data.Result;
+import com.vaadin.data.ValueContext;
/**
* Converter for handling conversion between {@link java.util.Date} and
diff --git a/server/src/main/java/com/vaadin/data/util/converter/StringToBigDecimalConverter.java b/server/src/main/java/com/vaadin/data/converter/StringToBigDecimalConverter.java
index d30540d120..c07db5ebdb 100644
--- a/server/src/main/java/com/vaadin/data/util/converter/StringToBigDecimalConverter.java
+++ b/server/src/main/java/com/vaadin/data/converter/StringToBigDecimalConverter.java
@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
-package com.vaadin.data.util.converter;
+package com.vaadin.data.converter;
import java.math.BigDecimal;
import java.text.DecimalFormat;
@@ -21,6 +21,7 @@ import java.text.NumberFormat;
import java.util.Locale;
import com.vaadin.data.Result;
+import com.vaadin.data.ValueContext;
/**
* A converter that converts from {@link String} to {@link BigDecimal} and back.
diff --git a/server/src/main/java/com/vaadin/data/util/converter/StringToBigIntegerConverter.java b/server/src/main/java/com/vaadin/data/converter/StringToBigIntegerConverter.java
index 186beb9d4b..51895ca8c8 100644
--- a/server/src/main/java/com/vaadin/data/util/converter/StringToBigIntegerConverter.java
+++ b/server/src/main/java/com/vaadin/data/converter/StringToBigIntegerConverter.java
@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
-package com.vaadin.data.util.converter;
+package com.vaadin.data.converter;
import java.math.BigDecimal;
import java.math.BigInteger;
@@ -22,6 +22,7 @@ import java.text.NumberFormat;
import java.util.Locale;
import com.vaadin.data.Result;
+import com.vaadin.data.ValueContext;
/**
* A converter that converts from {@link String} to {@link BigInteger} and back.
diff --git a/server/src/main/java/com/vaadin/data/util/converter/StringToBooleanConverter.java b/server/src/main/java/com/vaadin/data/converter/StringToBooleanConverter.java
index 38b27f8b50..67dca5c558 100644
--- a/server/src/main/java/com/vaadin/data/util/converter/StringToBooleanConverter.java
+++ b/server/src/main/java/com/vaadin/data/converter/StringToBooleanConverter.java
@@ -14,11 +14,13 @@
* the License.
*/
-package com.vaadin.data.util.converter;
+package com.vaadin.data.converter;
import java.util.Locale;
+import com.vaadin.data.Converter;
import com.vaadin.data.Result;
+import com.vaadin.data.ValueContext;
/**
* A converter that converts from {@link String} to {@link Boolean} and back.
diff --git a/server/src/main/java/com/vaadin/data/util/converter/StringToDateConverter.java b/server/src/main/java/com/vaadin/data/converter/StringToDateConverter.java
index d8a036c002..790d3cb762 100644
--- a/server/src/main/java/com/vaadin/data/util/converter/StringToDateConverter.java
+++ b/server/src/main/java/com/vaadin/data/converter/StringToDateConverter.java
@@ -14,14 +14,16 @@
* the License.
*/
-package com.vaadin.data.util.converter;
+package com.vaadin.data.converter;
import java.text.DateFormat;
import java.text.ParsePosition;
import java.util.Date;
import java.util.Locale;
+import com.vaadin.data.Converter;
import com.vaadin.data.Result;
+import com.vaadin.data.ValueContext;
/**
* A converter that converts from {@link Date} to {@link String} and back. Uses
diff --git a/server/src/main/java/com/vaadin/data/util/converter/StringToDoubleConverter.java b/server/src/main/java/com/vaadin/data/converter/StringToDoubleConverter.java
index 52bf9509c9..a14e33bc71 100644
--- a/server/src/main/java/com/vaadin/data/util/converter/StringToDoubleConverter.java
+++ b/server/src/main/java/com/vaadin/data/converter/StringToDoubleConverter.java
@@ -14,12 +14,13 @@
* the License.
*/
-package com.vaadin.data.util.converter;
+package com.vaadin.data.converter;
import java.text.NumberFormat;
import java.util.Locale;
import com.vaadin.data.Result;
+import com.vaadin.data.ValueContext;
/**
* A converter that converts from {@link String} to {@link Double} and back.
diff --git a/server/src/main/java/com/vaadin/data/util/converter/StringToFloatConverter.java b/server/src/main/java/com/vaadin/data/converter/StringToFloatConverter.java
index aeeeffcb8b..2db265475c 100644
--- a/server/src/main/java/com/vaadin/data/util/converter/StringToFloatConverter.java
+++ b/server/src/main/java/com/vaadin/data/converter/StringToFloatConverter.java
@@ -14,12 +14,13 @@
* the License.
*/
-package com.vaadin.data.util.converter;
+package com.vaadin.data.converter;
import java.text.NumberFormat;
import java.util.Locale;
import com.vaadin.data.Result;
+import com.vaadin.data.ValueContext;
/**
* A converter that converts from {@link String} to {@link Float} and back. Uses
diff --git a/server/src/main/java/com/vaadin/data/util/converter/StringToIntegerConverter.java b/server/src/main/java/com/vaadin/data/converter/StringToIntegerConverter.java
index 1c98e54c6e..c54903ef8e 100644
--- a/server/src/main/java/com/vaadin/data/util/converter/StringToIntegerConverter.java
+++ b/server/src/main/java/com/vaadin/data/converter/StringToIntegerConverter.java
@@ -14,12 +14,13 @@
* the License.
*/
-package com.vaadin.data.util.converter;
+package com.vaadin.data.converter;
import java.text.NumberFormat;
import java.util.Locale;
import com.vaadin.data.Result;
+import com.vaadin.data.ValueContext;
/**
* A converter that converts from {@link String} to {@link Integer} and back.
diff --git a/server/src/main/java/com/vaadin/data/util/converter/StringToLongConverter.java b/server/src/main/java/com/vaadin/data/converter/StringToLongConverter.java
index 444e7ede8e..8ddacdedfe 100644
--- a/server/src/main/java/com/vaadin/data/util/converter/StringToLongConverter.java
+++ b/server/src/main/java/com/vaadin/data/converter/StringToLongConverter.java
@@ -14,12 +14,13 @@
* the License.
*/
-package com.vaadin.data.util.converter;
+package com.vaadin.data.converter;
import java.text.NumberFormat;
import java.util.Locale;
import com.vaadin.data.Result;
+import com.vaadin.data.ValueContext;
/**
* A converter that converts from {@link String} to {@link Long} and back. Uses
diff --git a/server/src/main/java/com/vaadin/data/validator/BeanValidator.java b/server/src/main/java/com/vaadin/data/validator/BeanValidator.java
index 2734658f8f..3d7baa05a0 100644
--- a/server/src/main/java/com/vaadin/data/validator/BeanValidator.java
+++ b/server/src/main/java/com/vaadin/data/validator/BeanValidator.java
@@ -30,8 +30,8 @@ import javax.validation.metadata.ConstraintDescriptor;
import com.vaadin.data.ValidationResult;
import com.vaadin.data.Validator;
+import com.vaadin.data.ValueContext;
import com.vaadin.data.util.BeanUtil;
-import com.vaadin.data.util.converter.ValueContext;
/**
* A {@code Validator} using the JSR-303 (javax.validation) annotation-based
diff --git a/server/src/main/java/com/vaadin/data/validator/RangeValidator.java b/server/src/main/java/com/vaadin/data/validator/RangeValidator.java
index 2f966f81ee..7462a22d46 100644
--- a/server/src/main/java/com/vaadin/data/validator/RangeValidator.java
+++ b/server/src/main/java/com/vaadin/data/validator/RangeValidator.java
@@ -19,7 +19,7 @@ import java.util.Comparator;
import java.util.Objects;
import com.vaadin.data.ValidationResult;
-import com.vaadin.data.util.converter.ValueContext;
+import com.vaadin.data.ValueContext;
/**
* Verifies that a value is within the given range.
diff --git a/server/src/main/java/com/vaadin/data/validator/RegexpValidator.java b/server/src/main/java/com/vaadin/data/validator/RegexpValidator.java
index 89e4d81a53..21857abed0 100644
--- a/server/src/main/java/com/vaadin/data/validator/RegexpValidator.java
+++ b/server/src/main/java/com/vaadin/data/validator/RegexpValidator.java
@@ -19,7 +19,7 @@ import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.vaadin.data.ValidationResult;
-import com.vaadin.data.util.converter.ValueContext;
+import com.vaadin.data.ValueContext;
/**
* A string validator comparing the string against a Java regular expression.
diff --git a/server/src/main/java/com/vaadin/data/validator/StringLengthValidator.java b/server/src/main/java/com/vaadin/data/validator/StringLengthValidator.java
index f207e618ee..e2b0203821 100644
--- a/server/src/main/java/com/vaadin/data/validator/StringLengthValidator.java
+++ b/server/src/main/java/com/vaadin/data/validator/StringLengthValidator.java
@@ -17,7 +17,7 @@
package com.vaadin.data.validator;
import com.vaadin.data.ValidationResult;
-import com.vaadin.data.util.converter.ValueContext;
+import com.vaadin.data.ValueContext;
/**
* Verifies that the length of a string is within the given range.
diff --git a/server/src/main/java/com/vaadin/ui/AbstractDateField.java b/server/src/main/java/com/vaadin/ui/AbstractDateField.java
index 43d374c392..53415f45a6 100644
--- a/server/src/main/java/com/vaadin/ui/AbstractDateField.java
+++ b/server/src/main/java/com/vaadin/ui/AbstractDateField.java
@@ -31,7 +31,7 @@ import org.jsoup.nodes.Element;
import com.vaadin.data.Result;
import com.vaadin.data.ValidationResult;
-import com.vaadin.data.util.converter.ValueContext;
+import com.vaadin.data.ValueContext;
import com.vaadin.data.validator.DateRangeValidator;
import com.vaadin.event.FieldEvents.BlurEvent;
import com.vaadin.event.FieldEvents.BlurListener;
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 5b0968bae6..4c7a2da9a8 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/DesignAttributeHandler.java
@@ -36,8 +36,8 @@ import org.jsoup.nodes.Attributes;
import org.jsoup.nodes.Element;
import org.jsoup.nodes.Node;
-import com.vaadin.data.util.converter.Converter;
-import com.vaadin.data.util.converter.ValueContext;
+import com.vaadin.data.Converter;
+import com.vaadin.data.ValueContext;
import com.vaadin.shared.ui.AlignmentInfo;
import com.vaadin.shared.util.SharedUtil;
import com.vaadin.ui.Alignment;
diff --git a/server/src/main/java/com/vaadin/ui/declarative/DesignFormatter.java b/server/src/main/java/com/vaadin/ui/declarative/DesignFormatter.java
index 78c3886dd6..6e9ff8f9bb 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/DesignFormatter.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/DesignFormatter.java
@@ -31,12 +31,12 @@ import java.util.concurrent.ConcurrentHashMap;
import org.jsoup.parser.Parser;
+import com.vaadin.data.Converter;
import com.vaadin.data.Result;
-import com.vaadin.data.util.converter.Converter;
-import com.vaadin.data.util.converter.StringToBigDecimalConverter;
-import com.vaadin.data.util.converter.StringToDoubleConverter;
-import com.vaadin.data.util.converter.StringToFloatConverter;
-import com.vaadin.data.util.converter.ValueContext;
+import com.vaadin.data.ValueContext;
+import com.vaadin.data.converter.StringToBigDecimalConverter;
+import com.vaadin.data.converter.StringToDoubleConverter;
+import com.vaadin.data.converter.StringToFloatConverter;
import com.vaadin.event.ShortcutAction;
import com.vaadin.server.Resource;
import com.vaadin.ui.declarative.converters.DesignDateConverter;
diff --git a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignDateConverter.java b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignDateConverter.java
index 9ccdea4ba3..2d0bd2680f 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignDateConverter.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignDateConverter.java
@@ -19,9 +19,9 @@ import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
+import com.vaadin.data.Converter;
import com.vaadin.data.Result;
-import com.vaadin.data.util.converter.Converter;
-import com.vaadin.data.util.converter.ValueContext;
+import com.vaadin.data.ValueContext;
import com.vaadin.ui.declarative.DesignAttributeHandler;
/**
diff --git a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignEnumConverter.java b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignEnumConverter.java
index a32c68998f..de7f5ad5b7 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignEnumConverter.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignEnumConverter.java
@@ -17,9 +17,9 @@ package com.vaadin.ui.declarative.converters;
import java.util.Locale;
+import com.vaadin.data.Converter;
import com.vaadin.data.Result;
-import com.vaadin.data.util.converter.Converter;
-import com.vaadin.data.util.converter.ValueContext;
+import com.vaadin.data.ValueContext;
import com.vaadin.ui.declarative.DesignAttributeHandler;
/**
diff --git a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignLocalDateConverter.java b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignLocalDateConverter.java
index 59301ef386..3d0dd7cb2b 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignLocalDateConverter.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignLocalDateConverter.java
@@ -20,9 +20,9 @@ import java.time.format.DateTimeFormatter;
import java.time.format.DateTimeParseException;
import java.util.Locale;
+import com.vaadin.data.Converter;
import com.vaadin.data.Result;
-import com.vaadin.data.util.converter.Converter;
-import com.vaadin.data.util.converter.ValueContext;
+import com.vaadin.data.ValueContext;
import com.vaadin.ui.declarative.DesignAttributeHandler;
/**
diff --git a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignObjectConverter.java b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignObjectConverter.java
index cf1c1ef69a..b32ba3fcf8 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignObjectConverter.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignObjectConverter.java
@@ -15,9 +15,9 @@
*/
package com.vaadin.ui.declarative.converters;
+import com.vaadin.data.Converter;
import com.vaadin.data.Result;
-import com.vaadin.data.util.converter.Converter;
-import com.vaadin.data.util.converter.ValueContext;
+import com.vaadin.data.ValueContext;
import com.vaadin.ui.declarative.DesignAttributeHandler;
/**
diff --git a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignResourceConverter.java b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignResourceConverter.java
index c03d3750d1..e1ef5563fe 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignResourceConverter.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignResourceConverter.java
@@ -21,9 +21,9 @@ import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
+import com.vaadin.data.Converter;
import com.vaadin.data.Result;
-import com.vaadin.data.util.converter.Converter;
-import com.vaadin.data.util.converter.ValueContext;
+import com.vaadin.data.ValueContext;
import com.vaadin.server.ExternalResource;
import com.vaadin.server.FileResource;
import com.vaadin.server.FontAwesome;
diff --git a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignShortcutActionConverter.java b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignShortcutActionConverter.java
index 4856a0db8f..e2214cd9b3 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignShortcutActionConverter.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignShortcutActionConverter.java
@@ -20,9 +20,9 @@ import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
+import com.vaadin.data.Converter;
import com.vaadin.data.Result;
-import com.vaadin.data.util.converter.Converter;
-import com.vaadin.data.util.converter.ValueContext;
+import com.vaadin.data.ValueContext;
import com.vaadin.event.ShortcutAction;
import com.vaadin.event.ShortcutAction.KeyCode;
import com.vaadin.event.ShortcutAction.ModifierKey;
diff --git a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignTimeZoneConverter.java b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignTimeZoneConverter.java
index 3fe034e5fd..074fde525a 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignTimeZoneConverter.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignTimeZoneConverter.java
@@ -17,9 +17,9 @@ package com.vaadin.ui.declarative.converters;
import java.util.TimeZone;
+import com.vaadin.data.Converter;
import com.vaadin.data.Result;
-import com.vaadin.data.util.converter.Converter;
-import com.vaadin.data.util.converter.ValueContext;
+import com.vaadin.data.ValueContext;
import com.vaadin.ui.declarative.DesignAttributeHandler;
/**
diff --git a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignToStringConverter.java b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignToStringConverter.java
index fa81b36bb7..96d87a3f8b 100644
--- a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignToStringConverter.java
+++ b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignToStringConverter.java
@@ -17,9 +17,9 @@ package com.vaadin.ui.declarative.converters;
import java.lang.reflect.InvocationTargetException;
+import com.vaadin.data.Converter;
import com.vaadin.data.Result;
-import com.vaadin.data.util.converter.Converter;
-import com.vaadin.data.util.converter.ValueContext;
+import com.vaadin.data.ValueContext;
import com.vaadin.ui.declarative.DesignAttributeHandler;
/**