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

Minor change after datamodel update

parent 14fadb27
No related branches found
No related tags found
No related merge requests found
...@@ -59,8 +59,8 @@ public class NodeInfo { ...@@ -59,8 +59,8 @@ public class NodeInfo {
} }
private Optional<String> getProperty(Node node, String uri) { private Optional<String> getProperty(Node node, String uri) {
if (node.getProperties() != null && node.getProperties().getProperty() != null) { if (node.getProperties() != null && node.getProperties() != null) {
for (Property property : node.getProperties().getProperty()) { for (Property property : node.getProperties()) {
if (uri.equals(property.getUri())) { if (uri.equals(property.getUri())) {
return Optional.of(property.getValue()); return Optional.of(property.getValue());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment