Skip to content

Commit c386ec9

Browse files
committed
closest pair class must be final
1 parent e05cfdd commit c386ec9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/randomized/ClosestPair.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public String toString() {
2323
}
2424
}
2525

26-
public class ClosestPair {
26+
public final class ClosestPair {
2727
private static final double INFINITY = Double.MAX_VALUE;
2828

2929
private ClosestPair() {

0 commit comments

Comments
 (0)