mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-10 13:39:08 +08:00
style: enable EmptyStatement
(#5120)
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user