cobertura chokes on final in try-with-resource

This commit is contained in:
Daan Hoogland 2015-02-19 10:24:25 +01:00 committed by Daan Hoogland
parent 0f8a055dff
commit 4485dcb374

View File

@ -152,7 +152,7 @@ public class S3FileSystemBucketAdapter implements S3BucketAdapter {
file.delete();
file.createNewFile();
try(final FileOutputStream fos = new FileOutputStream(file);) {
try(FileOutputStream fos = new FileOutputStream(file);) {
byte[] buffer = new byte[4096];
// -> get the input stream for the next file part