ICU-5032 Increase code coverage numbers by removing redundant code
X-SVN-Rev: 19101
This commit is contained in:
parent
5cdbf449ca
commit
c942580977
@ -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 */
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user