-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
This task is designed as a small, useful task to onboard new users to the codebase who are unsure about what to work on.
Important
Unique constraint to this issue
Multiple pull requests from the same author will not be accepted, unless the refactoring is part of a larger piece of work
Tip
You do not need to be assigned this issue to work on it
Android Studio flags a number of warnings in the project.
If a file which contains these warnings is committed, then Android Studio will warn the author. If the warning was not introduced by the author's commit, then the author is unnecessarily slowed down by having to confirm that they did not introduce more warnings into the codebase (which inevitably leads them to disabling the warning, as they're low value).
The list of warnings can be obtained via:
- Code -> Inspect Code
The aim of this task is to introduce new contributors to the code with an 'easy' first issue to resolve.
- Run
Code -> Inspect Code
on the solution (it will be slow) - Select one file which has warnings (under the
Kotlin
header is easiest.- many of the Java warnings are not flagged by the IDE) - Fix all the errors, warnings + weak warnings in the file, automatically if this is offered by the IDE, or manually otherwise.
- Send us a pull request. In the pull request's title/description, do not write
Fixes #5996
as it would automatically close this whole issue. Instead, writePart of issue #5996
.
(Note to core team: Once this issue has been all completed, we can use CI to run Android Studio in headless mode to ensure that the codebase gets to, and stays at 0 warnings.)