cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [37/50] [abbrv] git commit: updated refs/heads/hotfix/scp-exception to e13d45e
Date Sat, 21 Feb 2015 11:34:13 GMT
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 <daan@onecht.net>
Authored: Thu Feb 19 10:24:25 2015 +0100
Committer: Daan Hoogland <dhoogland@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


Mime
View raw message