Objects.requireNonNull shows "Result is ignored" warning after last IDEA update
已回答
Hi, is there a way to disable "Result is ignored" warning for not using result of method Objects.requireNonNull ???
This warning started showing up only after recent update of IDEA.
Thanks
请先登录再写评论。
Please share the code sample where the issue is reproduced. What JDK version do you use? Thank you.
It`s everywhere where I`m using that check.
jdk1.8.0_151
For example:
Thank you for the information provided. Issue is reproduced with 2019.1.1, but works correct with 2019.2 (planned to be released on May). Sorry for inconvenience.