mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 05:20:54 +07:00
otherwise with generateFinalLocals=true, non-final variables could be made final which leads to red code
13 lines
324 B
Java
13 lines
324 B
Java
import java.io.File;
|
|
import java.io.FileInputStream;
|
|
import java.io.IOException;
|
|
|
|
class C {
|
|
void m(File file) throws IOException {
|
|
<caret>FileInputStream fileInputStream = new FileInputStream(file);
|
|
String s = "initial value";//Non-NLS
|
|
s = s + fileInputStream.read();
|
|
s += "end";
|
|
}
|
|
}
|