Closed Bug 1510966 Opened 6 years ago Closed 5 months ago

Code Style Warning: Unneccessary code

Categories

(GeckoView :: General, task, P5)

Unspecified
Android

Tracking

(firefox121 fixed)

RESOLVED FIXED
121 Branch
Tracking Status
firefox121 --- fixed

People

(Reporter: fluffyemily, Assigned: Logan)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug)

Attachments

(1 file)

Unnecessary enum modifier

Reports on any redundant modifiers on enumerated classes or components of enumerated classes.

Affected Classes:

AndroidGamepadManager
BaseHlsPlayer
DynamicToolbarAnimator
GeckoHLSDemuxerWrapper
GeckoScreenOrientation
GeckoSession
GeckoThread
ThreadUtils

Unneccessary interface modifier

Reports any redundant modifiers on interfaces or interface components.

Affected Classes:

AsyncCodec
BaseHlsPlayer
DynamicToolbarAnimator
EventCallback
GeckoAppShell
GeckoMediaDrm
GeckoProfileDirectories
GeckoSession
NativeReference
SessionTextInput
TelemetryContract
TouchEventInterceptor
WakeLockDelegate

Unnecessary semicolon

Reports on any unnecessary semicolons, whether between class members, inside block statements, or after class definitions. While valid Java, these semicolons are redundant, and may be removed.

Affected Classes:

AllowOrDeny
GeckoAppShell
GeckoHalDefines
GeckoWebExecutor
HttpBin
RemoteManager
WebRequest
Keywords: good-first-bug
OS: Unspecified → Android
Priority: -- → P5
Product: Firefox for Android → GeckoView

Hi!
I'm new to the community and would like to attempt this for my first bug. If no one is working on this, can I be assigned to give it a shot?

Thanks!

Hi Lukas, sure, let me know if you need any help with it!

Assignee: nobody → lukas.frantzke
Assignee: lukas.frantzke → nobody
Severity: normal → S3

Enhancements should have severity N/A.

Severity: S3 → N/A
Assignee: nobody → loganrosen
Status: NEW → ASSIGNED
Type: enhancement → task
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/52fc1e3d5a2a
address 'Unnecessary modifier' warnings r=geckoview-reviewers,calu
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: