mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IG: fix containsConflictingDeclarations()
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// "Unwrap 'if' statement" "true"
|
||||
class X {
|
||||
void test(@org.jetbrains.annotations.NotNull String x) {
|
||||
{
|
||||
String str = x.trim();
|
||||
System.out.println(str);
|
||||
}
|
||||
|
||||
{{int str;}}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
// "Unwrap 'if' statement" "true"
|
||||
class X {
|
||||
void test(@org.jetbrains.annotations.NotNull String x) {
|
||||
if(x != <caret>null) {
|
||||
String str = x.trim();
|
||||
System.out.println(str);
|
||||
}
|
||||
|
||||
{{int str;}}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user