mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-22 07:32:21 +07:00
11 lines
246 B
Java
11 lines
246 B
Java
// "Replace with 'String.repeat()'" "true"
|
|
class Test {
|
|
public int pendingSpaces;
|
|
|
|
String testRepeat(StringBuilder buffer) {
|
|
if (pendingSpaces > 0) {
|
|
buffer.append(" ".repeat(pendingSpaces));
|
|
pendingSpaces = 0;
|
|
}
|
|
}
|
|
} |