mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
for "Pattern variable can be used" inspection GitOrigin-RevId: 7ca41a5435635f951b10f513def9fa605e8274a3
8 lines
174 B
Java
8 lines
174 B
Java
// "Replace 's' with pattern variable" "true"
|
|
class X {
|
|
void test(Object obj) {
|
|
if (obj instanceof String) {
|
|
@Ann final String <caret>s = (String)obj;
|
|
}
|
|
}
|
|
} |