enabled number formatting in LocaleFormatter tests now that issue KT-1583 is fixed

This commit is contained in:
James Strachan
2012-03-17 16:32:31 +00:00
parent e58e3cc02f
commit f4beb7261f
2 changed files with 3 additions and 8 deletions
@@ -130,12 +130,9 @@ open class LocaleFormatter(val locale : Locale = defaultLocale) : ToStringFormat
public var dateFormat : DateFormat = DateFormat.getDateTimeInstance(DateFormat.DEFAULT, DateFormat.DEFAULT, locale).sure()
override fun format(out : Appendable, value : Any?) {
/* TODO KT-1583 - uncomment when its fixed
if (value is Number) {
format(out, format(value))
} else
*/
if (value is Date) {
} else if (value is Date) {
format(out, format(value))
} else {
super.format(out, value)