Lines 812-818
Link Here
|
812 |
// check whether comparing identical expressions |
812 |
// check whether comparing identical expressions |
813 |
Binding leftDirect = Expression.getDirectBinding(this.left); |
813 |
Binding leftDirect = Expression.getDirectBinding(this.left); |
814 |
if (leftDirect != null && leftDirect == Expression.getDirectBinding(this.right)) { |
814 |
if (leftDirect != null && leftDirect == Expression.getDirectBinding(this.right)) { |
815 |
scope.problemReporter().comparingIdenticalExpressions(this); |
815 |
if (leftTypeID != TypeIds.T_double && leftTypeID != TypeIds.T_float) // https://bugs.eclipse.org/bugs/show_bug.cgi?id=281776 |
|
|
816 |
scope.problemReporter().comparingIdenticalExpressions(this); |
816 |
} else if (this.constant != Constant.NotAConstant) { |
817 |
} else if (this.constant != Constant.NotAConstant) { |
817 |
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=276740 |
818 |
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=276740 |
818 |
int operator = (this.bits & OperatorMASK) >> OperatorSHIFT; |
819 |
int operator = (this.bits & OperatorMASK) >> OperatorSHIFT; |