From 9475025cf7b5f88c07c14081e913e771ede68db7 Mon Sep 17 00:00:00 2001 From: Markus Rathgeb Date: Fri, 1 Feb 2019 10:01:40 +0000 Subject: [PATCH] at missing no-arg constructor for Gson deserialization (#505) Fixes: https://github.com/openhab/openhab-core/issues/504 Signed-off-by: Markus Rathgeb --- .../config/core/status/ConfigStatusMessage.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bundles/org.openhab.core.config.core/src/main/java/org/eclipse/smarthome/config/core/status/ConfigStatusMessage.java b/bundles/org.openhab.core.config.core/src/main/java/org/eclipse/smarthome/config/core/status/ConfigStatusMessage.java index 09641682d..2408e0dd0 100644 --- a/bundles/org.openhab.core.config.core/src/main/java/org/eclipse/smarthome/config/core/status/ConfigStatusMessage.java +++ b/bundles/org.openhab.core.config.core/src/main/java/org/eclipse/smarthome/config/core/status/ConfigStatusMessage.java @@ -88,6 +88,15 @@ public final class ConfigStatusMessage { */ public final Integer statusCode; + /** + * Package protected default constructor to allow reflective instantiation. + * + * !!! DO NOT REMOVE - Gson needs it !!! + */ + ConfigStatusMessage() { + this(null, null, null, null, null, null); + } + /** * Creates a new {@link ConfigStatusMessage}. *