Fixed comments

This commit is contained in:
Luca Frosini 2024-11-04 11:38:03 +01:00
parent 648fd0a8ae
commit b47a1b9ba7
1 changed files with 5 additions and 6 deletions

View File

@ -66,10 +66,10 @@ public abstract class EntityManagement<E extends Entity, ET extends EntityType>
protected InstanceEnvironment targetInstanceEnvironment; protected InstanceEnvironment targetInstanceEnvironment;
/** /**
* By the default the system honour the propagation constraints * By default the system honour the propagation constraints
* so this variable is initialised as true. * so this variable is initialised as true.
* *
* To revert a previous operation or for particular a maintenance * To revert a previous operation or for a particular maintenance
* we could request to the service do not honour the propagation * we could request to the service do not honour the propagation
* constraints but under certain conditions and with some limitation * constraints but under certain conditions and with some limitation
* only. * only.
@ -150,7 +150,7 @@ public abstract class EntityManagement<E extends Entity, ET extends EntityType>
this.relationManagements = new HashMap<>(); this.relationManagements = new HashMap<>();
/* /*
* By the default the system honor the propagation constraints * By default the system honor the propagation constraints
* so this variable is initialized as true. * so this variable is initialized as true.
*/ */
this.honourPropagationConstraintsInContextSharing = true; this.honourPropagationConstraintsInContextSharing = true;
@ -434,9 +434,9 @@ public abstract class EntityManagement<E extends Entity, ET extends EntityType>
/* /*
* DO NOT UNCOMMENT * DO NOT UNCOMMENT
* the instance is added internalAddToContext() function after
* the update of Metadata i.e. modifiedBy, lastUpdateTime
* affectedInstances.put(uuid, serializeSelfOnly()); * affectedInstances.put(uuid, serializeSelfOnly());
* the instance is added in internalAddToContext() function after
* the update of Metadata i.e. modifiedBy, lastUpdateTime
*/ */
} }
@ -708,7 +708,6 @@ public abstract class EntityManagement<E extends Entity, ET extends EntityType>
break; break;
} }
// return reallyQuery(relationType, referenceType, referenceUUID, direction, polymorphic, constraint, includeRelationInResult);
return reallyQuery(relationType, referenceType, referenceUUID, direction, polymorphic, constraint); return reallyQuery(relationType, referenceType, referenceUUID, direction, polymorphic, constraint);
} catch(ResourceRegistryException e) { } catch(ResourceRegistryException e) {