thunderbird-android icon indicating copy to clipboard operation
thunderbird-android copied to clipboard

Fix missing @NonNull annotations

Open wmontwe opened this issue 1 year ago • 2 comments

Some of the Java files are lacking @NonNull annotations, even when declared by Android already. We should fix that to reduce the ammount of false nullable warnings and ease the Java to Kotlin conversion.

wmontwe avatar Feb 12 '24 12:02 wmontwe

It's probably not worth the effort of going through the Java code just for that. It is a good idea to add the annotations right before doing a conversion to Kotlin, though.

cketti avatar Feb 12 '24 14:02 cketti

Android Studio / Intellij Idea have good code analyis tools that could do most of the job already.

wmontwe avatar Feb 14 '24 13:02 wmontwe