remove unnecessary casts

This commit is contained in:
Manu Sridharan 2012-11-21 11:39:25 -08:00
parent d5dc65268e
commit 821479d1a6
1 changed files with 2 additions and 2 deletions

View File

@ -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());
}
}