aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2016-10-25 11:36:44 +0300
committerTeemu Suo-Anttila <teemusa@vaadin.com>2016-10-25 12:46:38 +0000
commit5bc31e8267230fc4abfef34dcaa77ce5eae447b3 (patch)
tree7b74b76069c27611e2404d2ae8aecf924ddb166f /server/src/main/java/com
parente0fcd1cfe0cea7dac124df0d86bf74f8d8c4f9be (diff)
downloadvaadin-framework-5bc31e8267230fc4abfef34dcaa77ce5eae447b3.tar.gz
vaadin-framework-5bc31e8267230fc4abfef34dcaa77ce5eae447b3.zip
Remove undocumented, unused extra default methods from Converter
Change-Id: I36a1deaadbb85d4b699c581058c80a7cd6e314fc
Diffstat (limited to 'server/src/main/java/com')
-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.
*