Skip to content

Commit

Permalink
HSEARCH-4153 Fix raw types in MutableEntityLoadingOptions
Browse files Browse the repository at this point in the history
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
  • Loading branch information
yrodiere authored and fax4ever committed Feb 10, 2021
1 parent 9fd2dfc commit bbf545a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -15,7 +15,7 @@
public class MutableEntityLoadingOptions {
private int fetchSize;

private List<EntityGraphHint> entityGraphHints;
private List<EntityGraphHint<?>> entityGraphHints;

public MutableEntityLoadingOptions(LoadingMappingContext mappingContext) {
this.fetchSize = mappingContext.fetchSize();
Expand All @@ -35,7 +35,7 @@ public EntityGraphHint<?> entityGraphHintOrNullForType(EntityPersister entityPer
return null;
}
String hibernateOrmEntityName = entityPersister.getEntityName();
for ( EntityGraphHint entityGraphHint : entityGraphHints ) {
for ( EntityGraphHint<?> entityGraphHint : entityGraphHints ) {
if ( entityGraphHint.graph.appliesTo( hibernateOrmEntityName ) ) {
return entityGraphHint;
}
Expand Down

0 comments on commit bbf545a

Please sign in to comment.