ICU-25 Update comments

X-SVN-Rev: 94
This commit is contained in:
Alan Liu 1999-10-21 23:57:29 +00:00
parent 48c94ab013
commit 3e6318e31e
2 changed files with 4 additions and 2 deletions

View file

@ -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);
}

View file

@ -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);
}