From c974b51d88829a0126e4ee16b655f7e3e7cbd230 Mon Sep 17 00:00:00 2001 From: Gabriel Darbord Date: Wed, 29 Mar 2023 20:55:03 +0200 Subject: [PATCH] Relations ordered using LinkedHashSet --- src/ch/akuhn/fame/internal/MultivalueSet.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ch/akuhn/fame/internal/MultivalueSet.java b/src/ch/akuhn/fame/internal/MultivalueSet.java index f3da281..7ec020e 100644 --- a/src/ch/akuhn/fame/internal/MultivalueSet.java +++ b/src/ch/akuhn/fame/internal/MultivalueSet.java @@ -19,13 +19,13 @@ package ch.akuhn.fame.internal; import java.util.AbstractSet; -import java.util.HashSet; +import java.util.LinkedHashSet; import java.util.Iterator; import java.util.Set; public abstract class MultivalueSet extends AbstractSet { - private Set values = new HashSet(); + private Set values = new LinkedHashSet(); @Override public boolean add(T e) {