ICU-6334 Fix API Doc examples.

X-SVN-Rev: 24237
This commit is contained in:
Michael Ow 2008-06-19 16:22:45 +00:00
parent fc718af2d0
commit 52aead68b4
2 changed files with 2 additions and 2 deletions

View file

@ -123,7 +123,7 @@ class Hashtable;
* <pre>
* UErrorCode status = U_ZERO_ERROR;
* MessageFormat* msgFmt = new MessageFormat(UnicodeString("{0, plural,
* one{0, number, C''est #,##0.0# fichier} other {Ce sont # fichiers}} dans la liste."),
* one{{0, number, C''est #,##0.0# fichier}} other {Ce sont # fichiers}} dans la liste."),
* Locale("fr"), status);
* if (U_FAILURE(status)) {
* return;

View file

@ -107,7 +107,7 @@ import java.util.Set;
* Example
* <pre>
* MessageFormat msgFmt = new MessageFormat("{0, plural, " +
* "singular{{0, number, C''''est #,##0.0# fichier}} " +
* "one{{0, number, C''''est #,##0.0# fichier}} " +
* "other {Ce sont # fichiers}} dans la liste.",
* new ULocale("fr"));
* Object args[] = {new Long(0)};