Skip to content

Commit 58e322b

Browse files
Adding build failed fixes.
1 parent ba57565 commit 58e322b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/thealgorithms/graph/TopologicalSort.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
*/
1717
public final class TopologicalSort {
1818

19+
private TopologicalSort() {
20+
throw new AssertionError("No instances.");
21+
}
22+
1923
/**
2024
* Class that represents a directed graph and provides methods for
2125
* manipulating the graph

0 commit comments

Comments
 (0)