mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
Fixes IDEA-303133 Extract variable from expression should be disabled when it uses a pattern variable declared earlier GitOrigin-RevId: 360e6eadd89a047e0699fa077e9a1417bfed4340
5 lines
167 B
Java
5 lines
167 B
Java
public class PatternUsedInSubsequentConditionCannotExtract {
|
|
void x(Object o) {
|
|
if (o instanceof String s ? <selection>s.equals("")</selection> : false) {}
|
|
}
|
|
} |