This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-statistics.git
The following commit(s) were added to refs/heads/master by this push: new 7e556df Checkstyle: Final class should be final 7e556df is described below commit 7e556df97d7db5619701f8ae5f6df71142e2e453 Author: Alex Herbert <aherb...@apache.org> AuthorDate: Tue Nov 21 19:39:28 2023 +0000 Checkstyle: Final class should be final --- .../statistics/examples/jmh/ranking/NaturalRankingPerformance.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commons-statistics-examples/examples-jmh/src/main/java/org/apache/commons/statistics/examples/jmh/ranking/NaturalRankingPerformance.java b/commons-statistics-examples/examples-jmh/src/main/java/org/apache/commons/statistics/examples/jmh/ranking/NaturalRankingPerformance.java index 923a56b..5770705 100644 --- a/commons-statistics-examples/examples-jmh/src/main/java/org/apache/commons/statistics/examples/jmh/ranking/NaturalRankingPerformance.java +++ b/commons-statistics-examples/examples-jmh/src/main/java/org/apache/commons/statistics/examples/jmh/ranking/NaturalRankingPerformance.java @@ -224,7 +224,7 @@ public class NaturalRankingPerformance { * Class to create a ranking using a sort of the data. This ranking does not * resolve ties and is a baseline for the speed of {@link Arrays#sort(Object[])}. */ - private static class SortRanking implements UnaryOperator<double[]> { + private static final class SortRanking implements UnaryOperator<double[]> { @Override public double[] apply(double[] in) { final DataPosition[] data = new DataPosition[in.length];