☰
Debian Codegraph
@
3.2.0+ds-4
/
/
framework
/
tests
/
all-systems
/
ResourceVariables.java
☽
☼
framework/tests/all-systems/ResourceVariables.java
code
plain
raw
GPL-2.0-with-classpath-exception
2004-2020 Checker Framework developers; 2004-2020 Michael Ernst <
[email protected]
>; 2004-2020 Werner M. Dietl <
[email protected]
>; 2004-2020 Suzanne Millstein <
[email protected]
>
debian/copyright
1
import java.io.*;
2
3
// Tests related to resource variables in try-with-resources statements.
4
5
class ResourceVariables {
6
void foo(InputStream arg) {
7
try (InputStream in = arg) {
8
} catch (IOException e) {
9
}
10
}
11
}