Update MessageExchanges.java

This commit is contained in:
Christopher Schnick 2022-12-01 16:28:33 +01:00
parent c5e886fcfb
commit 768da75992

View file

@ -12,7 +12,7 @@ public class MessageExchanges {
private static Set<MessageExchange> ALL; private static Set<MessageExchange> ALL;
private static void loadAll() { public static void loadAll() {
if (ALL == null) { if (ALL == null) {
ALL = ServiceLoader.load(MessageExchange.class).stream() ALL = ServiceLoader.load(MessageExchange.class).stream()
.map(s -> { .map(s -> {