blob: 609c69e43f4bafe7a8f7bed9eb1992b63fb1f38d [file]
// "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;
}
}
}