summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/data/util/converter/StringToNumberConverter.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/data/util/converter/StringToNumberConverter.java')
-rw-r--r--src/com/vaadin/data/util/converter/StringToNumberConverter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/data/util/converter/StringToNumberConverter.java b/src/com/vaadin/data/util/converter/StringToNumberConverter.java
index c71b7180e9..64944a434c 100644
--- a/src/com/vaadin/data/util/converter/StringToNumberConverter.java
+++ b/src/com/vaadin/data/util/converter/StringToNumberConverter.java
@@ -60,7 +60,7 @@ public class StringToNumberConverter implements Converter<String, Number> {
Number parsedValue = getFormat(locale).parse(value, parsePosition);
if (parsePosition.getIndex() != value.length()) {
throw new ConversionException("Could not convert '" + value
- + "' to " + getPresentationType().getName());
+ + "' to " + getModelType().getName());
}
if (parsedValue == null) {