mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-26 14:04:17 +08:00
style: enable FinalClass
in checkstyle (#5154)
This commit is contained in:

committed by
GitHub

parent
52f15b2b08
commit
bbe4a025df
@ -126,7 +126,7 @@ public class GrahamScan {
|
||||
return new PolarOrder();
|
||||
}
|
||||
|
||||
private class PolarOrder implements Comparator<Point> {
|
||||
private final class PolarOrder implements Comparator<Point> {
|
||||
public int compare(Point p1, Point p2) {
|
||||
int dx1 = p1.x - x;
|
||||
int dy1 = p1.y - y;
|
||||
|
Reference in New Issue
Block a user