Mercurial > projects > dwt2
changeset 89:0ca1aee7decf
Reverting to Class, final check against eclipse sources.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 19 Apr 2009 11:33:03 +0200 |
parents | 9e0ab372d5d8 |
children | 6086085e153d |
files | org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/conversion/IntegerToStringConverter.d |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/conversion/IntegerToStringConverter.d Sun Apr 19 11:10:09 2009 +0200 +++ b/org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/conversion/IntegerToStringConverter.d Sun Apr 19 11:33:03 2009 +0200 @@ -56,8 +56,7 @@ return stringcast(""); //$NON-NLS-1$ } - //FIXME check with org - if (!Class.fromObject(boxedType).isAssignableFrom(Class.fromObject(fromObject))) { + if (!boxedType.isInstance(fromObject)) { throw new IllegalArgumentException( Format("'fromObject' is not of type [{}].", boxedType)); //$NON-NLS-1$//$NON-NLS-2$ }