Skip to content

Commit

Permalink
POLICY-171 Incident fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arpit-at committed Jan 11, 2025
1 parent 45125fb commit 151aa6d
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

Expand All @@ -44,7 +46,7 @@
public class BusinessPolicyRequest implements Serializable {
private static final long serialVersionUID = 1L;

private List<AssetComplianceInfo> data;
private List<AssetComplianceInfo> data = new ArrayList<>();

public List<AssetComplianceInfo> getData() {
return data;
Expand All @@ -66,14 +68,14 @@ public static class AssetComplianceInfo implements Serializable {

private String assetId;

private Set<String> addCompliantGUIDs;
private Set<String> addCompliantGUIDs = new HashSet<>();

private Set<String> removeCompliantGUIDs;
private Set<String> removeCompliantGUIDs = new HashSet<>();


private Set<String> addNonCompliantGUIDs;
private Set<String> addNonCompliantGUIDs = new HashSet<>();

private Set<String> removeNonCompliantGUIDs;
private Set<String> removeNonCompliantGUIDs = new HashSet<>();


public String getAssetId() {
Expand Down

0 comments on commit 151aa6d

Please sign in to comment.