mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 15:41:26 +07:00
more java tests moved to community
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
// "Copy 'a' to temp final variable" "true"
|
||||
public class DoubleTrouble {
|
||||
public void test() {
|
||||
int a = 1;
|
||||
a = 2;
|
||||
final int finalA = a;
|
||||
class s {
|
||||
public void run() {
|
||||
new Runnable() {
|
||||
public void run() {
|
||||
System.out.println(<caret>finalA);
|
||||
}
|
||||
}.run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user