mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 04:11:31 +07:00
IDEA-302310 GitOrigin-RevId: 2b364e79c3b2f43fe4729677491c3676ba39d493
9 lines
216 B
Java
9 lines
216 B
Java
// "Replace '(String) obj' with 's1'" "false"
|
|
|
|
class X {
|
|
void test(Object obj, String s) {
|
|
if (obj instanceof String s1 && (s1 = "blah blah blah").equals(s)) {
|
|
String s2 = (String) ob<caret>j;
|
|
}
|
|
}
|
|
} |