Get rid of one redundant comparison of #mComposingTextStart

The code in question is not only redundant but also
harmful because it causes unnecessary integer boxing.

BUG: 17340578
Change-Id: Ife6e48889db80394d224297c53806105dc41d56e
This commit is contained in:
Yohei Yukawa
2014-08-31 18:29:37 -07:00
parent b730542b75
commit e05d4ca4dc

View File

@@ -211,9 +211,6 @@ public final class CursorAnchorInfo implements Parcelable {
|| !areSameFloatImpl(mInsertionMarkerBottom, that.mInsertionMarkerBottom)) {
return false;
}
if (!Objects.equals(mComposingTextStart, that.mComposingTextStart)) {
return false;
}
if (!Objects.equals(mCharacterRects, that.mCharacterRects)) {
return false;
}