Closed Bug 1510969 Opened 7 years ago Closed 2 years ago

Java Warning: Simplifiable conditional expresion

Categories

(GeckoView :: General, enhancement, P5)

Unspecified
Android
enhancement

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
Keywords: good-first-bug
OS: Unspecified → Android
Priority: -- → P5
Product: Firefox for Android → GeckoView
Severity: normal → S3

Enhancements should have severity N/A.

Severity: S3 → N/A

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.