Skip to content

Commit 7a259f0

Browse files
committed
Fix clang-format: add final newlines to DoubleHashingSort files
- Add required newline at end of DoubleHashingSort.java - Add required newline at end of DoubleHashingSortTest.java - Ensures clang-format compliance with EOF newline requirement - Files now end properly with newline character as expected
1 parent 77b4de4 commit 7a259f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,4 @@ private <T extends Comparable<T>> int getBucketIndex(T element, int bucketCount)
9595
// For simplicity, we use i = 1 here, but could be extended for collision resolution
9696
return (hash1 + hash2) % bucketCount;
9797
}
98-
}
98+
}

src/test/java/com/thealgorithms/sorts/DoubleHashingSortTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ public class DoubleHashingSortTest extends SortingAlgorithmTest {
99
SortAlgorithm getSortAlgorithm() {
1010
return new DoubleHashingSort();
1111
}
12-
}
12+
}

0 commit comments

Comments
 (0)