Skip to content

Commit

Permalink
HSEARCH-4155 Update an obsolete comment in PojoIndexingPlanImpl
Browse files Browse the repository at this point in the history
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
  • Loading branch information
yrodiere committed Feb 10, 2021
1 parent 34f5ff8 commit dbc33dc
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -205,7 +205,11 @@ private PojoRuntimeIntrospector getIntrospector() {
}

private void updateBecauseOfContained(Object containingEntity) {
// TODO ignore the event when containingEntity has provided IDs
// Note this method won't work when using provided identifiers
// Fortunately, all platforms relying on provided identifiers (Infinispan)
// also disable reindexing of other entities on updates,
// so they won't ever call this method.

PojoRawTypeIdentifier<?> typeIdentifier = getIntrospector().detectEntityType( containingEntity );
if ( typeIdentifier == null ) {
throw new AssertionFailure(
Expand Down

0 comments on commit dbc33dc

Please sign in to comment.