Files
openide/java/java-tests/testData/inspection/redundantCast/InConditional.java
T

5 lines
148 B
Java

class A {
{
String s = true ? "" : (<warning descr="Casting 'null' to 'String' is redundant">String</warning>) null; //cast is needed
}
}