diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/com/vaadin/ui/AbstractField.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/ui/AbstractField.java b/src/com/vaadin/ui/AbstractField.java index 7ad2f20296..4efed11e2c 100644 --- a/src/com/vaadin/ui/AbstractField.java +++ b/src/com/vaadin/ui/AbstractField.java @@ -535,7 +535,7 @@ public abstract class AbstractField<T> extends AbstractComponent implements if (!getType().isAssignableFrom(newFieldValue.getClass())) { throw new Converter.ConversionException("Value of type " + newFieldValue.getClass() + " cannot be assigned to " - + getClass().getName()); + + getType().getName()); } } setValue((T) newFieldValue, false); |