Files
openide/java/java-tests/testData/inspection/dataFlow/fixture/NestedTryInWhileNotComplex.java

21 lines
332 B
Java

import java.io.FileInputStream;
class Bar {
boolean myShouldAccept = true;
public void run() {
while (myShouldAccept) {
try {
FileInputStream fs = new FileInputStream("a");
try {
}
finally {
fs.close();
}
}
catch (Exception ignore) {
}
}
}
}