comparison org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/conversion/NumberToShortConverter.d @ 85:6be48cf9f95c

Work on databinding
author Frank Benoit <benoit@tionex.de>
date Sat, 18 Apr 2009 13:54:50 +0200
parents 383ce7bd736b
children 9e0ab372d5d8
comparison
equal deleted inserted replaced
84:fcf926c91ca4 85:6be48cf9f95c
28 /** 28 /**
29 * @param numberFormat 29 * @param numberFormat
30 * @param fromType 30 * @param fromType
31 * @param primitive 31 * @param primitive
32 */ 32 */
33 public this(NumberFormat numberFormat, ClassInfo fromType, 33 public this(NumberFormat numberFormat, TypeInfo fromType,
34 bool primitive) { 34 bool primitive) {
35 35
36 super(numberFormat, fromType, (primitive) ? Short.TYPE : Short.classinfo); 36 super(numberFormat, fromType, (primitive) ? Short.TYPE : typeid(Short));
37 } 37 }
38 38
39 /* 39 /*
40 * (non-Javadoc) 40 * (non-Javadoc)
41 * 41 *