aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/data/util/converter/StringToDoubleConverter.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/data/util/converter/StringToDoubleConverter.java')
-rw-r--r--src/com/vaadin/data/util/converter/StringToDoubleConverter.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/vaadin/data/util/converter/StringToDoubleConverter.java b/src/com/vaadin/data/util/converter/StringToDoubleConverter.java
index 60a38f4127..251f91855b 100644
--- a/src/com/vaadin/data/util/converter/StringToDoubleConverter.java
+++ b/src/com/vaadin/data/util/converter/StringToDoubleConverter.java
@@ -49,6 +49,7 @@ public class StringToDoubleConverter implements Converter<String, Double> {
* com.vaadin.data.util.converter.Converter#convertToModel(java.lang.Object,
* java.util.Locale)
*/
+ @Override
public Double convertToModel(String value, Locale locale)
throws ConversionException {
if (value == null) {
@@ -74,6 +75,7 @@ public class StringToDoubleConverter implements Converter<String, Double> {
* com.vaadin.data.util.converter.Converter#convertToPresentation(java.lang
* .Object, java.util.Locale)
*/
+ @Override
public String convertToPresentation(Double value, Locale locale)
throws ConversionException {
if (value == null) {
@@ -88,6 +90,7 @@ public class StringToDoubleConverter implements Converter<String, Double> {
*
* @see com.vaadin.data.util.converter.Converter#getModelType()
*/
+ @Override
public Class<Double> getModelType() {
return Double.class;
}
@@ -97,6 +100,7 @@ public class StringToDoubleConverter implements Converter<String, Double> {
*
* @see com.vaadin.data.util.converter.Converter#getPresentationType()
*/
+ @Override
public Class<String> getPresentationType() {
return String.class;
}