Skip to content

Commit 93029f1

Browse files
committed
Bug fix: Keep Constructor for GroupReturnCode class when using Proguard
1 parent 3d6d9e7 commit 93029f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mcumgr-core/src/main/java/io/runtime/mcumgr/response/HasReturnCode.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package io.runtime.mcumgr.response;
22

3+
import com.fasterxml.jackson.annotation.JsonCreator;
34
import com.fasterxml.jackson.annotation.JsonProperty;
45

56
import org.jetbrains.annotations.NotNull;
@@ -18,6 +19,9 @@ class GroupReturnCode {
1819
@JsonProperty("rc")
1920
public int rc;
2021

22+
@JsonCreator
23+
public GroupReturnCode() {}
24+
2125
@Override
2226
@NotNull
2327
public String toString() {

0 commit comments

Comments
 (0)