ICU-5032 Increase code coverage numbers by removing redundant code

X-SVN-Rev: 19101
This commit is contained in:
George Rhoten 2006-02-08 21:42:32 +00:00
parent 5cdbf449ca
commit c942580977
2 changed files with 4 additions and 18 deletions

View File

@ -311,21 +311,6 @@ UnicodeString &Win32NumberFormat::format(int32_t numDigits, UnicodeString &appen
return appendTo;
}
UnicodeString &Win32NumberFormat::format(double number, UnicodeString &appendTo) const
{
return NumberFormat::format(number, appendTo);
}
UnicodeString &Win32NumberFormat::format(int32_t number, UnicodeString &appendTo) const
{
return NumberFormat::format(number, appendTo);
}
UnicodeString &Win32NumberFormat::format(int64_t number, UnicodeString &appendTo) const
{
return NumberFormat::format(number, appendTo);
}
U_NAMESPACE_END
#endif /* #if !UCONFIG_NO_FORMATTING */

View File

@ -92,9 +92,10 @@ public:
UnicodeString& appendTo,
FieldPosition& pos) const;
virtual UnicodeString &format(double number, UnicodeString &appendTo) const;
virtual UnicodeString &format(int32_t number, UnicodeString &appendTo) const;
virtual UnicodeString &format(int64_t number, UnicodeString &appendTo) const;
// Use the default behavior for the following.
// virtual UnicodeString &format(double number, UnicodeString &appendTo) const;
// virtual UnicodeString &format(int32_t number, UnicodeString &appendTo) const;
// virtual UnicodeString &format(int64_t number, UnicodeString &appendTo) const;
virtual void parse(const UnicodeString& text, Formattable& result, ParsePosition& parsePosition) const;