Ignore warning of statement with empty body

4.8k Views Asked by At

I want android studio does not flag as a warning when an if / else statement has the else empty.

this is an example:

enter image description here

I've been watching the preferences (/preferences/inspections) carefully, but I can not disable that warning.

Anyone know how to disable it? Thanks!

0

There are 0 best solutions below