Closed Bug 1510962 Opened 6 years ago Closed 9 months ago

Class Structure Warning: 'static' method declared 'final'

Categories

(GeckoView :: General, enhancement, P5)

Unspecified
Android
enhancement

Tracking

(firefox116 wontfix, firefox117 fixed)

RESOLVED FIXED
117 Branch
Tracking Status
firefox116 --- wontfix
firefox117 --- fixed

People

(Reporter: fluffyemily, Assigned: Logan)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug)

Attachments

(1 file)

Reports methods declared final and static. When a static method is overridden in a subclass it can still be accessed via the super class, making a final declaration not very necessary. Declaring a static method final does prevent subclasses from defining a static method with the same signature.

Affected Classes:

GeckoLoader
GeckoRuntime
See Also: → 1510961
Keywords: good-first-bug
OS: Unspecified → Android
Priority: -- → P5
Product: Firefox for Android → GeckoView

Hey! I would like to look into this bug for an assignment for university.

Assignee: nobody → bugzeeeeee
Assignee: bugzeeeeee → nobody

Hi :chanad17. This bug is available to pick up if you are interested. We usually ask first time contributors to attach a patch before assigning bugs.

If you need help setting up GeckoView, you can follow our setup guides on our documentation site: https://mozilla.github.io/geckoview/contributor/.

Feel free to use the public Riot GeckoView channel to ask questions: https://chat.mozilla.org/#/room/#geckoview:mozilla.org

Severity: normal → S3

Enhancements should have severity N/A.

Severity: S3 → N/A
Assignee: nobody → loganrosen
Status: NEW → ASSIGNED
Pushed by m_kato@ga2.so-net.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/02b9987dee27
remove unnecessary 'final' declaration r=geckoview-reviewers,m_kato
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: