mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-02 14:38:30 +07:00
10 lines
245 B
Java
10 lines
245 B
Java
// "Replace with 'String.repeat()'" "true"
|
|
class Test {
|
|
String spaces(int a, int b, int c, int d) {
|
|
StringBuilder sb = new StringBuilder();
|
|
f<caret>or(int i=a-b; i<c-d; i++) {
|
|
sb.append(' ');
|
|
}
|
|
return sb.toString();
|
|
}
|
|
} |