Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e05d4ca4 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

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
parent b730542b
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;
        }