Merge branch 'policy-ui' into 'master'

Remove unnecessary variable from card bean

See merge request entgra/carbon-device-mgt!736
4.x.x
Dharmakeerthi Lasantha 4 years ago
commit cb3b07f35e

@ -31,7 +31,6 @@ public class Card {
private String key; private String key;
private List<APIContent> apiContents; private List<APIContent> apiContents;
private APIContent apiContent; private APIContent apiContent;
private Item item;
private List<Item> items; private List<Item> items;
private List<SubContent> subContents; private List<SubContent> subContents;
@ -72,15 +71,6 @@ public class Card {
this.apiContent = apiContent; this.apiContent = apiContent;
} }
@XmlElement(name = "Item")
public Item getItem() {
return item;
}
public void setItem(Item item) {
this.item = item;
}
@XmlElementWrapper(name = "Items") @XmlElementWrapper(name = "Items")
@XmlElement(name = "Item") @XmlElement(name = "Item")
public List<Item> getItems() { public List<Item> getItems() {

Loading…
Cancel
Save