Skip to content
Snippets Groups Projects
Commit c8bce2ef authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Bugfix

parent 71e8d1d3
No related branches found
No related tags found
No related merge requests found
Pipeline #732 passed
...@@ -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<>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment