Sign in
eclipse
/
jdt
/
eclipse.jdt.ui
/
refs/tags/r371_v20110729-0400
/
.
/
org.eclipse.jdt.ui.tests.refactoring
/
resources
/
ExtractTemp
/
cannotExtract17
/
A_testFail1.java
blob: 3fd02cec6c59ea057ead9742ac62270b584eb59d [
file
] [
log
] [
blame
]
package
p
;
//9, 14, 9, 56
import
java
.
io
.
FileReader
;
import
java
.
io
.
IOException
;
class
A
{
void
foo
()
throws
IOException
{
try
(
FileReader
reader
=
new
FileReader
(
"file"
))
{
int
ch
;
while
((
ch
=
reader
.
read
())
!=
-
1
)
{
System
.
out
.
println
(
ch
);
}
}
}
}