mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
cobertura chokes on final in try-with-resource
This commit is contained in:
parent
0f8a055dff
commit
4485dcb374
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user