mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-30 21:08:30 +08:00
fixed Sonar issues
This commit is contained in:
parent
a26f327c2d
commit
48eb4c4124
@ -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 {
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user