mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-24 21:07:26 +08:00
removed unnecessary throw
This commit is contained in:
parent
2d2f5a3cfd
commit
f434b18e7f
@ -385,9 +385,6 @@ public class EntitySerializer implements Serializer{
|
||||
|
||||
protected void introSuper(CodeWriter writer, EntityType model) throws IOException {
|
||||
EntityType superType = model.getSuperType().getEntityType();
|
||||
if (superType == null){
|
||||
throw new IllegalStateException("Supertype is null for " + model);
|
||||
}
|
||||
String superQueryType = typeMappings.getPathType(superType, model, false);
|
||||
|
||||
if (!superType.hasEntityFields()){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user