mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 06:25:30 +00:00
[ICU-25] Update comments
X-Commit-URL: https://ssl.icu-project.org/trac/changeset/94
This commit is contained in:
parent
11932dbf3a
commit
7e38545161
2 changed files with 4 additions and 2 deletions
|
@ -409,8 +409,8 @@ inline UnicodeString&
|
|||
ChoiceFormat::format(const Formattable& obj,
|
||||
UnicodeString& result,
|
||||
UErrorCode& status) const {
|
||||
// Don't use Format:: - use NumberFormat:: in case base class
|
||||
// modified behavior in future.
|
||||
// Don't use Format:: - use immediate base class only,
|
||||
// in case immediate base modifies behavior later.
|
||||
return NumberFormat::format(obj, result, status);
|
||||
}
|
||||
|
||||
|
|
|
@ -725,6 +725,8 @@ inline UnicodeString&
|
|||
SimpleDateFormat::format(const Formattable& obj,
|
||||
UnicodeString& result,
|
||||
UErrorCode& status) const {
|
||||
// Don't use Format:: - use immediate base class only,
|
||||
// in case immediate base modifies behavior later.
|
||||
return DateFormat::format(obj, result, status);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue