at missing no-arg constructor for Gson deserialization (#505)

Fixes: https://github.com/openhab/openhab-core/issues/504

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
This commit is contained in:
Markus Rathgeb 2019-02-01 10:01:40 +00:00 committed by Kai Kreuzer
parent 6260f8e8ae
commit 9475025cf7

View File

@ -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}.
*