Fixed bug on properties update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134838 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
1c9f4cec10
commit
0bb59cb6c2
|
@ -355,7 +355,7 @@ public class EntityManagementImpl implements EntityManagement {
|
|||
|
||||
for (String prefix : ignoreStartWith) {
|
||||
if (key.startsWith(prefix)) {
|
||||
break OUTER_WHILE;
|
||||
continue OUTER_WHILE;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -413,8 +413,8 @@ public class EntityManagementImpl implements EntityManagement {
|
|||
Map<String, Object> properties;
|
||||
if (element instanceof Vertex) {
|
||||
properties = getVertexProperties(jsonNode);
|
||||
ignoreKeys = EMBEDDED_IGNORE_KEYS;
|
||||
ignoreStartWithKeys = EMBEDDED_IGNORE_START_WITH_KEYS;
|
||||
ignoreKeys = ENTITY_IGNORE_KEYS;
|
||||
ignoreStartWithKeys = ENTITY_IGNORE_START_WITH_KEYS;
|
||||
} else if (element instanceof Edge) {
|
||||
properties = getEdgeProperties(jsonNode);
|
||||
ignoreKeys = RELATION_IGNORE_KEYS;
|
||||
|
@ -447,7 +447,7 @@ public class EntityManagementImpl implements EntityManagement {
|
|||
|
||||
for (String prefix : ignoreStartWithKeys) {
|
||||
if (key.startsWith(prefix)) {
|
||||
break OUTER_FOR;
|
||||
continue OUTER_FOR;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue