From 5bc31e8267230fc4abfef34dcaa77ce5eae447b3 Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Tue, 25 Oct 2016 11:36:44 +0300 Subject: Remove undocumented, unused extra default methods from Converter Change-Id: I36a1deaadbb85d4b699c581058c80a7cd6e314fc --- .../main/java/com/vaadin/data/util/converter/Converter.java | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'server/src') 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 extends Serializable { public Result convertToModel(PRESENTATION value, ValueContext context); - default public Result convertToModel(PRESENTATION value, - Locale locale) { - return convertToModel(value, new ValueContext(locale)); - } - /** * Converts the given value from presentation type to model type. *

@@ -72,11 +66,6 @@ public interface Converter 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. * -- cgit v1.2.3