if
这通常意味着不必要进行该检查,或者在 if 语句中没有错误引用变量。
示例:
void test(Integer i) { if (i != null) { // 这里的 'i' 没有在 'if' 语句内部使用 System.out.println(); } }