aboutsummaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/src')
-rw-r--r--server/src/main/java/com/vaadin/data/util/converter/Converter.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/server/src/main/java/com/vaadin/data/util/converter/Converter.java b/server/src/main/java/com/vaadin/data/util/converter/Converter.java
index 3521789e5a..9c46469f22 100644
--- a/server/src/main/java/com/vaadin/data/util/converter/Converter.java
+++ b/server/src/main/java/com/vaadin/data/util/converter/Converter.java
@@ -17,7 +17,6 @@
package com.vaadin.data.util.converter;
import java.io.Serializable;
-import java.util.Locale;
import java.util.function.Function;
import com.vaadin.data.Binder.Binding;
@@ -53,11 +52,6 @@ public interface Converter<PRESENTATION, MODEL> extends Serializable {
public Result<MODEL> convertToModel(PRESENTATION value,
ValueContext context);
- default public Result<MODEL> convertToModel(PRESENTATION value,
- Locale locale) {
- return convertToModel(value, new ValueContext(locale));
- }
-
/**
* Converts the given value from presentation type to model type.
* <p>
@@ -72,11 +66,6 @@ public interface Converter<PRESENTATION, MODEL> extends Serializable {
public PRESENTATION convertToPresentation(MODEL value,
ValueContext context);
- default public PRESENTATION convertToPresentation(MODEL value,
- Locale locale) {
- return convertToPresentation(value, new ValueContext());
- }
-
/**
* Returns a converter that returns its input as-is in both directions.
*