Skip to content
Snippets Groups Projects
Commit 8f8ccb62 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-5163 use default value for bodyObject in command

parent c5416742
Branches
Tags
No related merge requests found
package de.ozgcloud.apilib.common.command; package de.ozgcloud.apilib.common.command;
import java.time.ZonedDateTime; import java.time.ZonedDateTime;
import java.util.Collections;
import java.util.Map; import java.util.Map;
import de.ozgcloud.apilib.user.OzgCloudUserId; import de.ozgcloud.apilib.user.OzgCloudUserId;
...@@ -35,7 +36,8 @@ public class OzgCloudCommand { ...@@ -35,7 +36,8 @@ public class OzgCloudCommand {
private OzgCloudUserId createdBy; private OzgCloudUserId createdBy;
private OzgCloudCommandStatus status; private OzgCloudCommandStatus status;
private Map<String, Object> bodyObject; @Builder.Default
private Map<String, Object> bodyObject = Collections.emptyMap();
/** /**
* @deprecated use {@link OzgCloudCommand#bodyObject} * @deprecated use {@link OzgCloudCommand#bodyObject}
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment