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

Bugfix

parent 71e8d1d3
Loading
Loading
Loading
Loading
Loading
+2 −2
Changes for src/main/java/net/ivoa/xml/vospace/v2/Node.java: 2 added lines, 2 removed lines.
Original line number Original line Diff line number Diff line
@@ -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 {
    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<>();