From 4dcde76a08c9a4a3d421fbd2afd02bf65a1c954e Mon Sep 17 00:00:00 2001 From: Stephan Richter Date: Mon, 25 Mar 2024 18:54:11 +0100 Subject: [PATCH] fixed collecition containing flags Signed-off-by: Stephan Richter --- src/main/java/de/srsoftware/widerhall/data/ListMember.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/srsoftware/widerhall/data/ListMember.java b/src/main/java/de/srsoftware/widerhall/data/ListMember.java index 65da35e..5d37acc 100644 --- a/src/main/java/de/srsoftware/widerhall/data/ListMember.java +++ b/src/main/java/de/srsoftware/widerhall/data/ListMember.java @@ -391,7 +391,7 @@ public class ListMember { * @return */ public String stateText() { - var words = new ArrayList(); + var words = new TreeSet(); if (isAwaiting()) words.add(t("awaiting confirmation")); if (isModerator()) words.add(t("moderator")); if (isOwner()) words.add(t("owner"));