mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 12:40:02 +00:00
ICU-22426 Do not create nested StringBuilder when appending
This commit is contained in:
parent
f1b13a850a
commit
adbcfb1e07
1 changed files with 3 additions and 1 deletions
|
@ -1694,7 +1694,9 @@ public class MessageFormat extends UFormat {
|
|||
int prevDestLength=dest.length;
|
||||
Format formatter = null;
|
||||
if (noArg) {
|
||||
dest.append("{"+argName+"}");
|
||||
dest.append("{");
|
||||
dest.append(argName);
|
||||
dest.append("}");
|
||||
} else if (arg == null) {
|
||||
dest.append("null");
|
||||
} else if(pluralNumber!=null && pluralNumber.numberArgIndex==(i-2)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue