Skip to content

Commit 39f73ef

Browse files
committed
Fix clang-format: Use single space before inline comments
- Change double spaces to single spaces before inline comments - Lines 56-58: Adjust comment spacing to match clang-format requirements - Maintain code readability and functionality
1 parent 2f965e0 commit 39f73ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/thealgorithms/sorts/AmericanFlagSort.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ private <T extends Comparable<T>> void bucketSort(T[] array, int start, int end)
5353
// Partition into buckets based on comparison with pivot
5454
T pivot = array[start + length / 2];
5555

56-
int lt = start; // less than pivot
57-
int gt = end; // greater than pivot
58-
int i = start; // current element
56+
int lt = start; // less than pivot
57+
int gt = end; // greater than pivot
58+
int i = start; // current element
5959

6060
while (i <= gt) {
6161
int cmp = array[i].compareTo(pivot);

0 commit comments

Comments
 (0)