From 1338780416e7f046b72d5d269bf6167e5281f66e Mon Sep 17 00:00:00 2001 From: Marian Koncek Date: Fri, 2 Feb 2024 14:05:08 +0100 Subject: [PATCH] Ensure stable order of Sisu component list Upstream related fix: https://github.com/fedora-java/javapackages-bootstrap/commit/d18cc7bd703f6a53baeb6145ac0c876d56cef46a --- mbi/cdc/src/org/fedoraproject/mbi/tool/cdc/CdcTool.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mbi/cdc/src/org/fedoraproject/mbi/tool/cdc/CdcTool.java b/mbi/cdc/src/org/fedoraproject/mbi/tool/cdc/CdcTool.java index 6965b0c..bf22268 100644 --- a/mbi/cdc/src/org/fedoraproject/mbi/tool/cdc/CdcTool.java +++ b/mbi/cdc/src/org/fedoraproject/mbi/tool/cdc/CdcTool.java @@ -20,8 +20,8 @@ import java.lang.annotation.Annotation; import java.lang.reflect.Field; import java.nio.file.Files; import java.nio.file.Path; -import java.util.ArrayList; -import java.util.List; +import java.util.Set; +import java.util.TreeSet; import java.util.stream.Collectors; import javax.inject.Named; @@ -62,7 +62,7 @@ public class CdcTool private Element plexusComponents; - private List sisuComponents = new ArrayList<>(); + private Set sisuComponents = new TreeSet<>(); @Override public void initialize() -- 2.43.0