Prefer using asEntityInitializer() over direct cast

This commit is contained in:
Sanne Grinovero 2023-01-12 11:37:58 +00:00 committed by Sanne Grinovero
parent 8fa39d773b
commit b725dc4f20
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ public class CircularBiDirectionalFetchImpl implements BiDirectionalFetch {
return null;
}
return (EntityInitializer) parentInitializer;
return parentInitializer.asEntityInitializer();
}
@Override