From 1be15bb42644e2f71fbb01a3977d2d71322084c5 Mon Sep 17 00:00:00 2001 From: Konrad Windszus Date: Sun, 24 Dec 2023 10:47:15 +0100 Subject: [PATCH] Make SinkWrapperFactoryComparator final --- .../maven/doxia/sink/impl/SinkWrapperFactoryComparator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doxia-core/src/main/java/org/apache/maven/doxia/sink/impl/SinkWrapperFactoryComparator.java b/doxia-core/src/main/java/org/apache/maven/doxia/sink/impl/SinkWrapperFactoryComparator.java index 963601eda..37f2739ce 100644 --- a/doxia-core/src/main/java/org/apache/maven/doxia/sink/impl/SinkWrapperFactoryComparator.java +++ b/doxia-core/src/main/java/org/apache/maven/doxia/sink/impl/SinkWrapperFactoryComparator.java @@ -24,7 +24,7 @@ * Sorts the given {@link SinkWrapperFactory}s so that the one with the highest priority comes first (i.e. order by descending priority) * @since 2.0.0 */ -public class SinkWrapperFactoryComparator implements Comparator { +public final class SinkWrapperFactoryComparator implements Comparator { @Override public int compare(SinkWrapperFactory o1, SinkWrapperFactory o2) {