diff --git a/Plan/src/main/java/com/djrapitops/plan/ui/html/graphs/ScatterGraphCreator.java b/Plan/src/main/java/com/djrapitops/plan/ui/html/graphs/ScatterGraphCreator.java index 2f88c0b8b..5b6c72142 100644 --- a/Plan/src/main/java/com/djrapitops/plan/ui/html/graphs/ScatterGraphCreator.java +++ b/Plan/src/main/java/com/djrapitops/plan/ui/html/graphs/ScatterGraphCreator.java @@ -7,7 +7,7 @@ package main.java.com.djrapitops.plan.ui.html.graphs; import com.djrapitops.plugin.api.TimeAmount; import com.djrapitops.plugin.utilities.Verify; -import main.java.com.djrapitops.plan.utilities.analysis.DouglasPeckerAlgorithm; +import main.java.com.djrapitops.plan.utilities.analysis.DouglasPeuckerAlgorithm; import main.java.com.djrapitops.plan.utilities.analysis.Point; import main.java.com.djrapitops.plan.utilities.comparators.PointComparator; @@ -32,7 +32,7 @@ public class ScatterGraphCreator { arrayBuilder.append("["); if (reducePoints) { - points = DouglasPeckerAlgorithm.reducePoints(points, 0); + points = DouglasPeuckerAlgorithm.reducePoints(points, 0); } if (reduceGapTriangles) { diff --git a/Plan/src/main/java/com/djrapitops/plan/utilities/analysis/DouglasPeckerAlgorithm.java b/Plan/src/main/java/com/djrapitops/plan/utilities/analysis/DouglasPeuckerAlgorithm.java similarity index 93% rename from Plan/src/main/java/com/djrapitops/plan/utilities/analysis/DouglasPeckerAlgorithm.java rename to Plan/src/main/java/com/djrapitops/plan/utilities/analysis/DouglasPeuckerAlgorithm.java index ae1de46bd..1694ef16b 100644 --- a/Plan/src/main/java/com/djrapitops/plan/utilities/analysis/DouglasPeckerAlgorithm.java +++ b/Plan/src/main/java/com/djrapitops/plan/utilities/analysis/DouglasPeuckerAlgorithm.java @@ -5,13 +5,13 @@ import java.util.Arrays; import java.util.List; /** - * Ramer-Douglas-Pecker Point Reduction Algorithm for reducing points from + * Ramer-Douglas-Peucker Point Reduction Algorithm for reducing points from * graphs. * * @author Rsl1122 * @since 3.5.2 */ -public class DouglasPeckerAlgorithm { +public class DouglasPeuckerAlgorithm { public static List reducePoints(List points, double epsilon) { if (points.isEmpty()) {