You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2015/02/21 12:34:13 UTC
[37/50] [abbrv] git commit: updated refs/heads/hotfix/scp-exception
to e13d45e
cobertura chokes on final in try-with-resource
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/4485dcb3
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/4485dcb3
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/4485dcb3
Branch: refs/heads/hotfix/scp-exception
Commit: 4485dcb374dc282f159053ce20704d7c29a92888
Parents: 0f8a055
Author: Daan Hoogland <da...@onecht.net>
Authored: Thu Feb 19 10:24:25 2015 +0100
Committer: Daan Hoogland <dh...@schubergphilis.com>
Committed: Thu Feb 19 10:24:25 2015 +0100
----------------------------------------------------------------------
awsapi/src/com/cloud/bridge/io/S3FileSystemBucketAdapter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/4485dcb3/awsapi/src/com/cloud/bridge/io/S3FileSystemBucketAdapter.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/cloud/bridge/io/S3FileSystemBucketAdapter.java b/awsapi/src/com/cloud/bridge/io/S3FileSystemBucketAdapter.java
index a0834c2..11b832f 100644
--- a/awsapi/src/com/cloud/bridge/io/S3FileSystemBucketAdapter.java
+++ b/awsapi/src/com/cloud/bridge/io/S3FileSystemBucketAdapter.java
@@ -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