cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject git commit: updated refs/heads/master to 4cfcfd4
Date Fri, 28 Mar 2014 14:15:29 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master af66d0e4f -> 4cfcfd43d


findbugs: array toString()

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/4cfcfd43
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/4cfcfd43
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/4cfcfd43

Branch: refs/heads/master
Commit: 4cfcfd43de0467b71c1cf5f4076285dc34fda64e
Parents: af66d0e
Author: Daan Hoogland <daan@onecht.net>
Authored: Fri Mar 28 15:12:53 2014 +0100
Committer: Daan Hoogland <daan@onecht.net>
Committed: Fri Mar 28 15:14:57 2014 +0100

----------------------------------------------------------------------
 utils/src/com/cloud/utils/SwiftUtil.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/4cfcfd43/utils/src/com/cloud/utils/SwiftUtil.java
----------------------------------------------------------------------
diff --git a/utils/src/com/cloud/utils/SwiftUtil.java b/utils/src/com/cloud/utils/SwiftUtil.java
index e876290..07a7292 100644
--- a/utils/src/com/cloud/utils/SwiftUtil.java
+++ b/utils/src/com/cloud/utils/SwiftUtil.java
@@ -20,6 +20,7 @@
 package com.cloud.utils;
 
 import java.io.File;
+import java.util.Arrays;
 import java.util.Map;
 
 import org.apache.log4j.Logger;
@@ -182,7 +183,7 @@ public class SwiftUtil {
             String[] lines = parser.getLines().split("\\n");
             for (String line : lines) {
                 if (line.contains("Errno") || line.contains("failed")) {
-                    String errMsg = "swiftDownload failed , err=" + lines.toString();
+                    String errMsg = "swiftDownload failed , err=" + Arrays.toString(lines);
                     logger.debug(errMsg);
                     throw new CloudRuntimeException("Failed to get object: " + swiftPath);
                 }


Mime
View raw message