mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8336831: Optimize StringConcatHelper.simpleConcat
Reviewed-by: liach, redestad, rriggs
This commit is contained in:
parent
4c91d5cb41
commit
476d2ae69d
2 changed files with 33 additions and 16 deletions
|
@ -2987,7 +2987,7 @@ public final class String
|
|||
if (str.isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
return StringConcatHelper.simpleConcat(this, str);
|
||||
return StringConcatHelper.doConcat(this, str);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue