This commit is contained in:
Timo Westkämper 2009-11-18 13:39:20 +00:00
parent a979ecab79
commit 4e30f85394
2 changed files with 3 additions and 4 deletions

View File

@ -274,8 +274,7 @@ public class APTModelFactory implements TypeVisitor<TypeModel,Elements> {
return new TypeSuperModel(t.getLowerBound().accept(this, p));
}else{
return null;
}
}
}
@Override

View File

@ -90,9 +90,9 @@ public class EntitySerializer implements Serializer{
builder.append(", inits");
}
builder.append(");\n");
builder.append(" }\n\n");
builder.append(" }\n\n");
// 5 (with entity field initialization)
// 5
if (hasEntityFields){
builder.append(" public "+queryType+"(Class<? extends "+genericName+"> type, @NotEmpty String entityName, PathMetadata<?> metadata, PathInits inits) {\n");
builder.append(" super(type, entityName, metadata);\n");