AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
GNU General Public License v3.0
8.53k
stars
2.21k
forks
source link
Lint: enable "ThrowableNotAtBeginning" #17248
Open
david-allison opened 1 day ago
This rule should be working and fail on the following code (as it does inside the IDE):
https://github.com/ankidroid/Anki-Android/blob/75d9e56f8d593f0d4e36e02ad64fe477f43f7d2f/AnkiDroid/src/main/java/com/ichi2/compat/CompatV24.kt#L51
https://googlesamples.github.io/android-custom-lint-rules/checks/ThrowableNotAtBeginning.md.html
But it's not, and the following patch doesn't enable it: