Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
VOSpace INAF
vospace-datamodel
Commits
c8bce2ef
Commit
c8bce2ef
authored
Dec 14, 2020
by
Sonia Zorba
Browse files
Bugfix
parent
71e8d1d3
Pipeline
#732
passed with stages
in 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/net/ivoa/xml/vospace/v2/Node.java
View file @
c8bce2ef
...
...
@@ -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
<>();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment