Anki-Android
Anki-Android copied to clipboard
Simplify HashUtil method when possible
Now that HashUtil methods are not used in Java anymore (at least once #12301 is merged. But my two commits can be reviewed independently of #12301), I can make them return Kotlin type instead of java type. This ensure better typing as far as nullability goes.
Working on them, I also cleaned every usage of those methods that can be replaced by map/associate/filter.
I believe this PR should be rebased
Needs a rebase to remove the Sound
changes
@Arthur-Milchior Build failure:
e: /Users/runner/work/Anki-Android/Anki-Android/AnkiDroid/src/main/java/com/ichi2/libanki/sched/Sched.kt: (162, 20): Unresolved reference: HashUtil
Hello 👋, this PR has been opened for more than 2 months with no activity on it. If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing! You have 7 days until this gets closed automatically