mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 17:20:54 +07:00
18 lines
290 B
Java
18 lines
290 B
Java
// "Defer assignment to 'n' using temp variable" "true-preview"
|
|
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;
|
|
}
|
|
}
|
|
|