Files
openide/java/java-tests/testData/inspection/patternVariableCanBeUsed/beforePolyadic.java
T
2019-12-28 06:40:55 +00:00

9 lines
258 B
Java

// "Fix all 'Pattern variable can be used' problems in file" "true"
class X {
void test(Object obj, Object obj2) {
if (obj instanceof String && obj2 instanceof Integer) {
String <caret>s = (String)obj;
Integer i = (Integer)obj2;
}
}
}