more java tests moved to community

This commit is contained in:
Alexey Kudravtsev
2010-06-25 12:46:40 +04:00
parent 735a9d17a8
commit 2718da9fc7
1139 changed files with 14287 additions and 0 deletions
@@ -0,0 +1,17 @@
// "Copy 'a' to temp final variable" "true"
public class DoubleTrouble {
public void test() {
int a = 1;
a = 2;
class s {
public void run() {
new Runnable() {
public void run() {
System.out.println(<caret>a);
}
}.run();
}
}
}
}