mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
10 lines
229 B
Java
10 lines
229 B
Java
// "Replace with 'String.repeat()'" "true"
|
|
class Test {
|
|
String hundredTimes(String s) {
|
|
StringBuilder sb = new StringBuilder();
|
|
f<caret>or(int i=0; i<100; i++) {
|
|
sb.append(s);
|
|
}
|
|
return sb.toString();
|
|
}
|
|
} |