if (!fromType.equals(Double.class) && !fromType.equals(double.class)) {
String fromName = (fromType.isPrimitive()) ? getKeyForClass(
fromType, null) : fromType.getName();
map.put(new Pair(fromName, DOUBLE_CLASS),
new NumberToDoubleConverter(numberFormat, fromType,
true));
map.put(new Pair(fromName, Double.class.getName()),
new NumberToDoubleConverter(numberFormat, fromType,
false));
}
}
}