more java tests moved to community

This commit is contained in:
Alexey Kudravtsev
2010-06-25 10:48:17 +04:00
parent 735a9d17a8
commit 2718da9fc7
1139 changed files with 14287 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
// "Defer assignment to 'n' using temp variable" "true"
import java.io.*;
class a {
void f(InputStream in) {
final int n;
if (in==null) {
n= 2;
<caret>n= 2;
}
else {
n=4;
}
int p = 6;
}
}