From e9719eb57763bed8ca5a81957bd2b65ddc5f9939 Mon Sep 17 00:00:00 2001 From: lolodomo Date: Wed, 5 Jul 2023 21:02:24 +0200 Subject: [PATCH] Make firmwareStatus field not final in DTO object (#3687) Fix #3679 If not, calls of method limitToFields by PR #3335 fails when the list of fields does not contain firmwareStatus. Signed-off-by: Laurent Garnier --- .../org/openhab/core/io/rest/core/thing/EnrichedThingDTO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.core.io.rest.core/src/main/java/org/openhab/core/io/rest/core/thing/EnrichedThingDTO.java b/bundles/org.openhab.core.io.rest.core/src/main/java/org/openhab/core/io/rest/core/thing/EnrichedThingDTO.java index dfa37e601a3..c17ce4df1b4 100644 --- a/bundles/org.openhab.core.io.rest.core/src/main/java/org/openhab/core/io/rest/core/thing/EnrichedThingDTO.java +++ b/bundles/org.openhab.core.io.rest.core/src/main/java/org/openhab/core/io/rest/core/thing/EnrichedThingDTO.java @@ -31,7 +31,7 @@ public class EnrichedThingDTO extends AbstractThingDTO { public List channels; public ThingStatusInfo statusInfo; - public final FirmwareStatusDTO firmwareStatus; + public FirmwareStatusDTO firmwareStatus; public boolean editable; /**