Mercurial > projects > dwt2
diff org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/conversion/NumberToLongConverter.d @ 88:9e0ab372d5d8
Revert from TypeInfo/ClassInfo to java.lang.Class
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 19 Apr 2009 11:10:09 +0200 |
parents | 6be48cf9f95c |
children |
line wrap: on
line diff
--- a/org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/conversion/NumberToLongConverter.d Sat Apr 18 14:20:15 2009 +0200 +++ b/org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/conversion/NumberToLongConverter.d Sun Apr 19 11:10:09 2009 +0200 @@ -30,9 +30,9 @@ * @param fromType * @param primitive */ - public this(NumberFormat numberFormat, TypeInfo fromType, + public this(NumberFormat numberFormat, Class fromType, bool primitive) { - super(numberFormat, fromType, (primitive) ? Long.TYPE : typeid(Long)); + super(numberFormat, fromType, (primitive) ? Long.TYPE : Class.fromType!(Long)); } /* (non-Javadoc)