diff --git a/vospace-ui-backend/src/main/java/it/inaf/ia2/vospace/ui/service/NodeInfo.java b/vospace-ui-backend/src/main/java/it/inaf/ia2/vospace/ui/service/NodeInfo.java index 895b084682923de987d8d838e91a4fc1b2596917..0919783aa1fc300efea6bb315bac64c3f6b7f017 100644 --- a/vospace-ui-backend/src/main/java/it/inaf/ia2/vospace/ui/service/NodeInfo.java +++ b/vospace-ui-backend/src/main/java/it/inaf/ia2/vospace/ui/service/NodeInfo.java @@ -59,8 +59,8 @@ public class NodeInfo { } private Optional<String> getProperty(Node node, String uri) { - if (node.getProperties() != null && node.getProperties().getProperty() != null) { - for (Property property : node.getProperties().getProperty()) { + if (node.getProperties() != null && node.getProperties() != null) { + for (Property property : node.getProperties()) { if (uri.equals(property.getUri())) { return Optional.of(property.getValue()); }