Skip to content

Commit 73bf81c

Browse files
committed
Fix clang-format issues: remove trailing spaces and fix JavaDoc formatting
- Remove trailing spaces at end of lines - Fix JavaDoc comment spacing (empty line with *) - Ensure proper line endings without extra characters - All formatting now complies with clang-format-16 requirements
1 parent febf9cc commit 73bf81c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/**
88
* Double Hashing Sort Algorithm Implementation
9-
*
9+
*
1010
* Double Hashing Sort uses a hybrid approach combining hashing with traditional sorting.
1111
* It creates hash buckets using double hashing technique to distribute elements
1212
* and then sorts each bucket individually.
@@ -62,7 +62,7 @@ private <T extends Comparable<T>> T[] doubleHashingSort(T[] array, int bucketCou
6262
if (!bucket.isEmpty()) {
6363
// Sort the bucket directly using Collections.sort
6464
bucket.sort(null);
65-
65+
6666
// Copy sorted elements back to main array
6767
for (T element : bucket) {
6868
array[index++] = element;

0 commit comments

Comments
 (0)