Closed Bug 781713 Opened 13 years ago Closed 13 years ago

Inline getEditable() and remove unnecessary null checks

Categories

(Firefox for Android Graveyard :: Keyboards and IME, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox17 fixed)

RESOLVED FIXED
Firefox 17
Tracking Status
firefox17 --- fixed

People

(Reporter: cpeterson, Assigned: cpeterson)

Details

Attachments

(1 file)

GeckoInputConnection.mEditable can never be null, so calling getEditable() or checking for null mEditable is unnecessary. This patch simplifies the code by removing some pointless null checks and return paths.
Attachment #650747 - Flags: review?(blassey.bugs)
Attachment #650747 - Flags: review?(blassey.bugs) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 17
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: