Commit c8bce2ef authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Bugfix

parent 71e8d1d3
Pipeline #732 passed with stages
in 36 seconds
......@@ -62,6 +62,8 @@ public class Node {
// <edit>
// Auto-generated class defined a PropertyList wrapper class.
@XmlElement(name = "property")
@XmlElementWrapper(name = "properties", required = false)
protected List<Property> properties;
// Used for generating missing type attribute for root node. For child nodes it is filled automatically.
......@@ -90,8 +92,6 @@ public class Node {
protected String uri;
// <edit>
@XmlElement(name = "property")
@XmlElementWrapper(name = "properties", required = false)
public List<Property> getProperties() {
if (properties == null) {
properties = new ArrayList<>();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment