Disable warning in IntelliJ for one line

后端 未结 7 1116
庸人自扰
庸人自扰 2020-12-15 02:03

I have a Java code line where IntelliJ displays a warning. How do I silence the warning in that particular line, without affecting warnings displayed in other lines?

相关标签:
7条回答
  • 2020-12-15 03:00

    //noinspection unchecked,ConstantConditions

    @SuppressWarnings does not work in every place

    0 讨论(0)
提交回复
热议问题