Skip to content

Commit

Permalink
HSEARCH-4148 Remove incorrect comment from PojoIndexingDependencyColl…
Browse files Browse the repository at this point in the history
…ectorValueNode

Signed-off-by: Yoann Rodière <yoann@hibernate.org>
  • Loading branch information
yrodiere authored and fax4ever committed Mar 12, 2021
1 parent 15de829 commit dc00a40
Showing 1 changed file with 0 additions and 6 deletions.
Expand Up @@ -129,12 +129,6 @@ void collectDependency(BoundPojoModelPathValueNode<?, ?, ?> dirtyPathFromEntityT
}

void doCollectDependency(PojoIndexingDependencyCollectorValueNode<?, ?> initialNodeCollectingDependency) {
// See the handling of derived properties below to get an idea of
// what "reindexOnUpdateFromDerivedProperty" is for:
// essentially it allows marking a derived property with ReindexOnUpdate.SHALLOW
// so that, in the context of that derived property,
// the properties it's derived from are handled as SHALLOW,
// i.e. we only collect dependency up to entity boundaries.
ReindexOnUpdate composedReindexOnUpdate = initialNodeCollectingDependency == null ? reindexOnUpdate
: initialNodeCollectingDependency.composeReindexOnUpdate( lastEntityNode(), reindexOnUpdate );
if ( ReindexOnUpdate.NO.equals( composedReindexOnUpdate ) ) {
Expand Down

0 comments on commit dc00a40

Please sign in to comment.