style: enable EmptyStatement (#5120)

This commit is contained in:
Piotr Idzik
2024-04-26 21:39:03 +02:00
committed by GitHub
parent 6de154d218
commit de18d0df7e
3 changed files with 3 additions and 4 deletions

View File

@ -10,8 +10,8 @@ public class CircleSort implements SortAlgorithm {
@Override
public <T extends Comparable<T>> T[] sort(T[] array) {
int n = array.length;
while (doSort(array, 0, n - 1))
;
while (doSort(array, 0, n - 1)) {
}
return array;
}