mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
[r=peter] dfa regression. Even finals must be flashed when they leave their declaration scope
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<problems/>
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
public class AAA {
|
||||
public static void main(String[] args) {
|
||||
|
||||
for (int i = 0; i < args.length; i++) {
|
||||
final String element = args[i];
|
||||
|
||||
if (i == 1) {
|
||||
if (element != null) { // !!!!! WRONG: element[1] == null
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if (element == null) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user