Skip to content

Commit a0dd6d3

Browse files
committed
Fix: mark TopologicalSort class as final to satisfy Checkstyle
1 parent dc43651 commit a0dd6d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* for Directed Acyclic Graphs. It prints the nodes in a topological order.
1111
*/
1212

13-
public class TopologicalSort {
13+
public final class TopologicalSort {
1414

1515
// Private constructor to prevent instantiation
1616
private TopologicalSort() {

0 commit comments

Comments
 (0)