fixed Sonar issues

This commit is contained in:
Timo Westkämper 2011-07-05 08:14:55 +00:00
parent a26f327c2d
commit 48eb4c4124
2 changed files with 5 additions and 1 deletions

View File

@ -141,7 +141,7 @@ public final class Alias {
if (rv != null) {
return rv;
}else if (arg instanceof EntityPath<?>){
return (EntityPathBase)arg;
return (EntityPathBase<D>)arg;
} else if (arg instanceof ManagedObject) {
return (EntityPathBase<D>) ((ManagedObject) arg).__mappedPath();
} else {

View File

@ -5,6 +5,8 @@
*/
package com.mysema.query.codegen;
import javax.annotation.Nullable;
import com.mysema.codegen.model.Type;
/**
@ -13,6 +15,7 @@ import com.mysema.codegen.model.Type;
*/
public class Supertype {
@Nullable
private EntityType entityType;
private final Type type;
@ -26,6 +29,7 @@ public class Supertype {
this.entityType = entityType;
}
@Nullable
public EntityType getEntityType() {
return entityType;
}