Closed
Bug 1510969
Opened 7 years ago
Closed 2 years ago
Java Warning: Simplifiable conditional expresion
Categories
(GeckoView :: General, enhancement, P5)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: fluffyemily, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug)
Reports conditional expressions of the following form
condition ? true : foo
condition ? false : foo
condition ? foo : !foo
condition ? !foo : foo
These expressions may respectively be safely simplified to
condition || foo
!condition && foo
condition == foo
condition != foo
Affected Class
GeckoView
Updated•7 years ago
|
Updated•6 years ago
|
Product: Firefox for Android → GeckoView
Updated•3 years ago
|
Severity: normal → S3
Comment 2•2 years ago
|
||
Scanned the whole project and couldn't find any current examples of this lint warning. Closing accordingly.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•