-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Cleanup]: Fix Android Studio Warnings #13282
Comments
This comment was marked as resolved.
This comment was marked as resolved.
@atakanserifoglu Please read carefully the constraints mentioned above: Multiple pull requests from the same author for this issue will not be accepted (this is a constraint unique to this issue). |
The project's naming convention has a lot of underscores whereas all of the issues related to this topic suggests camel case convention. Should I adapt all of these functions, classes and variable names or look for a different solution? |
If they're in |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
@deekshatw and others. Go ahead, there's no need to ask for permission to work on this issue. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
* Update ScopedStorageService.kt Fixed warnings in ScopedStorageService.kt. issue: #13282 * Removed lines in ScopedStorageService.kt Deleted the code that was commented out.
* Update ScopedStorageService.kt Fixed warnings in ScopedStorageService.kt. issue: ankidroid#13282 * Removed lines in ScopedStorageService.kt Deleted the code that was commented out.
This comment was marked as resolved.
This comment was marked as resolved.
Yes, it is. You can make a PR fixing one of the many reported issues. |
…oid#13282 (ankidroid#16095) * Fixed some Kotlin Android Studio Warnings * Reverted import changes * Update OperationTest.kt code legibility improved --------- Co-authored-by: Bernardo Galante <ba@MacBook-Air-de-Bernardo.local>
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 AnkiDroid 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:
The aim of this task is to introduce new contributors to the code with an 'easy' first issue to resolve.
Code -> Inspect Code
on the solution (it will be slow)Kotlin
header is easiest.- many of the Java warnings are not flagged by the IDE)If you have completed this and desire to do more work, please select one of our accepted issues, or fix some
@NeedsTest
annotations in the codebase.Once this issue has been completed, we can use CI to run Android Studio in headless mode to ensure that the codebase gets to, and stays at 0 warnings.
The text was updated successfully, but these errors were encountered: