what is dereferencing possible null pointer

Опубликовано: 28 Ноябрь 2016
на канале: Towfik Alrazihi
2,484
14

You can choose to disable the warnings but As a general rule, you don't want to ignore/disable a warning unless you know for a fact that everything will be okay. Disabling this kind of warning does not fall under that category; if you might be dereferencing null, figuring out at compile time is much better than having to debug a NullPointerException