From dd9aedfbf5f0ea095e5412553b3d9457b7d69d54 Mon Sep 17 00:00:00 2001 From: Maxim Date: Thu, 23 Nov 2023 14:08:07 +0300 Subject: [PATCH] Fix ProfilesMerger --- .../src/main/java/org/verapdf/pdfa/qa/ProfilesMerger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/veraPDF-integration/src/main/java/org/verapdf/pdfa/qa/ProfilesMerger.java b/veraPDF-integration/src/main/java/org/verapdf/pdfa/qa/ProfilesMerger.java index 499a198..6546dcc 100644 --- a/veraPDF-integration/src/main/java/org/verapdf/pdfa/qa/ProfilesMerger.java +++ b/veraPDF-integration/src/main/java/org/verapdf/pdfa/qa/ProfilesMerger.java @@ -63,7 +63,7 @@ public static void mergeAtomicProfiles(OutputStream out, final String description, final String creator) throws IOException, JAXBException { SortedSet rules = new TreeSet<>(new RuleComparator()); - Set variables = new HashSet<>(); + SortedSet variables = new TreeSet<>(Comparator.comparing(Variable::getName)); PDFAFlavour flavour = null; for (File dir : root) {