0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00
Commit Graph

1 Commits

Author SHA1 Message Date
David Allison
1cdd07d6d7 Allow JetBrains @Contract annotations
Contract annotations allow us to write contracts for methods such as:
"null -> true" (TextUtils.isEmpty()), this allows further lint warnings
on Android framework methods, which should be annotated, but aren't yet.

These should be written inline when possible, but we also include a
folder of annotations for our external libraries

Further instructions for external annotations are detailed in README.md
2020-05-14 20:48:36 -05:00