Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
IntentionPowerPak
/
src
/
intentionDescriptions
/
MergeNestedTryStatementsIntention
/
before.java.template
blob: bc283f6633299fa6e5c7e864afc2e7fde29ee5a7 [
file
] [
log
] [
blame
]
import
java
.
io
.*;
public
class
X
{
void
f
(
File
file1
,
File
file2
)
throws
FileNotFoundException
{
<spot>
try
</
spot
>
(
FileInputStream
in
=
new
FileInputStream
(
file1
))
{
try
(
FileOutputStream
out
=
new
FileOutputStream
(
file2
))
{
// do something
}
}
}
}