Skip to content

Commit 22071c6

Browse files
declare TravelingSalesman as final
1 parent fad634f commit 22071c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @author <a href="https://github.com/DenizAltunkapan">Deniz Altunkapan</a>
1212
*/
1313

14-
public class TravelingSalesman {
14+
public final class TravelingSalesman {
1515

1616
// Private constructor to prevent instantiation
1717
private TravelingSalesman() {

0 commit comments

Comments
 (0)