mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +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