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 { ...@@ -62,6 +62,8 @@ public class Node {
// <edit> // <edit>
// Auto-generated class defined a PropertyList wrapper class. // Auto-generated class defined a PropertyList wrapper class.
@XmlElement(name = "property")
@XmlElementWrapper(name = "properties", required = false)
protected List<Property> properties; protected List<Property> properties;
// Used for generating missing type attribute for root node. For child nodes it is filled automatically. // Used for generating missing type attribute for root node. For child nodes it is filled automatically.
...@@ -90,8 +92,6 @@ public class Node { ...@@ -90,8 +92,6 @@ public class Node {
protected String uri; protected String uri;
// <edit> // <edit>
@XmlElement(name = "property")
@XmlElementWrapper(name = "properties", required = false)
public List<Property> getProperties() { public List<Property> getProperties() {
if (properties == null) { if (properties == null) {
properties = new ArrayList<>(); 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