remove unnecessary casts
This commit is contained in:
parent
d5dc65268e
commit
821479d1a6
|
@ -387,8 +387,8 @@ public class TypeInference extends SSAInference<TypeVariable> implements FixedPo
|
|||
TypeAbstraction lhsType = lhs.getType();
|
||||
TypeAbstraction meet = TypeAbstraction.TOP;
|
||||
for (int i = 0; i < rhs.length; i++) {
|
||||
if (rhs[i] != null && ((TypeVariable)rhs[i]).getType() != null) {
|
||||
TypeVariable r = (TypeVariable) rhs[i];
|
||||
if (rhs[i] != null && rhs[i].getType() != null) {
|
||||
TypeVariable r = rhs[i];
|
||||
meet = meet.meet(r.getType());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue