Prefer using asEntityInitializer() over direct cast
This commit is contained in:
parent
8fa39d773b
commit
b725dc4f20
|
@ -248,7 +248,7 @@ public class CircularBiDirectionalFetchImpl implements BiDirectionalFetch {
|
|||
return null;
|
||||
}
|
||||
|
||||
return (EntityInitializer) parentInitializer;
|
||||
return parentInitializer.asEntityInitializer();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue