Closed Bug 1510973 Opened 6 years ago Closed 1 years ago

Java Warning: Redundant Local Variable

Categories

(GeckoView :: General, enhancement, P5)

Unspecified
Android
enhancement

Tracking

(firefox118 wontfix, firefox119 fixed)

RESOLVED FIXED
119 Branch
Tracking Status
firefox118 --- wontfix
firefox119 --- fixed

People

(Reporter: fluffyemily, Assigned: Logan)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug)

Attachments

(1 file)

Reports unnecessary local variables, which add nothing to the comprehensibility of a method. Variables caught include local variables which are immediately returned, local variables that are immediately assigned to another variable and then not used, and local variables which always have the same value as another local variable or parameter. Affected Classes AtomParsers GeckoHLSDemuxerWrapper GeckoHlsPlayer GeckoMediaDrmBridgeV21 IntentUtils MediaDrmProxy
Keywords: good-first-bug
OS: Unspecified → Android
Priority: -- → P5
Product: Firefox for Android → GeckoView

Hello! can you assign me this bug? I would like to work on this

Hi clairebitterness, sure thing. There are good docs to get you started here: https://mozilla.github.io/geckoview/tutorials/geckoview-quick-start.html

You can run the lint using ./mach android lint after you set up the workspace using the guide linked above.

Feel free to ask me any questions here on the bug or on IRC at #mobile.

Assignee: nobody → clairebitterness

Hey I don't know if this bug is fixed yet, if not can I work on it?

Hi Jimmy! This bug is not fixed yet, we usually ask first time contributors to attach a patch before assigning bugs. Let me know if you need any help with that or something else!

Assignee: clairebitterness → nobody
Severity: normal → S3
Assignee: nobody → kkaya

This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.

Assignee: kkaya → nobody

Enhancements should have severity N/A.

Severity: S3 → N/A
Assignee: nobody → loganrosen
Status: NEW → ASSIGNED

This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit BugBot documentation.

Assignee: loganrosen → nobody
Status: ASSIGNED → NEW
Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/b39dd7670b6b remove redundant local variables r=geckoview-reviewers,calu
Assignee: nobody → loganrosen
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 1 years ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: