From be7c2a77fc988a8086019e3214464c8cc3ea67ac Mon Sep 17 00:00:00 2001 From: J-N-K Date: Sun, 21 Jan 2024 19:28:46 +0100 Subject: [PATCH] Update bundles/org.smarthomej.transform.basicprofiles/src/main/java/org/smarthomej/transform/basicprofiles/internal/profiles/StateFilterProfile.java --- .../basicprofiles/internal/profiles/StateFilterProfile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.smarthomej.transform.basicprofiles/src/main/java/org/smarthomej/transform/basicprofiles/internal/profiles/StateFilterProfile.java b/bundles/org.smarthomej.transform.basicprofiles/src/main/java/org/smarthomej/transform/basicprofiles/internal/profiles/StateFilterProfile.java index 36b779c781..7cc1f71deb 100644 --- a/bundles/org.smarthomej.transform.basicprofiles/src/main/java/org/smarthomej/transform/basicprofiles/internal/profiles/StateFilterProfile.java +++ b/bundles/org.smarthomej.transform.basicprofiles/src/main/java/org/smarthomej/transform/basicprofiles/internal/profiles/StateFilterProfile.java @@ -50,7 +50,7 @@ public class StateFilterProfile implements StateProfile { private final ProfileCallback callback; private List> acceptedDataTypes; - private List conditions = new ArrayList<>(); + private List conditions = List.of(); private @Nullable State configMismatchState = null;