cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject [1/3] git commit: updated refs/heads/master to fc23c70
Date Fri, 04 Jul 2014 14:49:10 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 539db0895 -> fc23c70a1


Fix CID 1164032 Dodgy code

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

Branch: refs/heads/master
Commit: 362b4811765ed47c94e9c84e2dec03a311600fd6
Parents: 539db08
Author: Hugo Trippaers <htrippaers@schubergphilis.com>
Authored: Fri Jul 4 15:50:23 2014 +0200
Committer: Hugo Trippaers <htrippaers@schubergphilis.com>
Committed: Fri Jul 4 16:48:27 2014 +0200

----------------------------------------------------------------------
 .../cloudstack/storage/datastore/util/NexentaNmsClient.java    | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/362b4811/plugins/storage/volume/nexenta/src/org/apache/cloudstack/storage/datastore/util/NexentaNmsClient.java
----------------------------------------------------------------------
diff --git a/plugins/storage/volume/nexenta/src/org/apache/cloudstack/storage/datastore/util/NexentaNmsClient.java
b/plugins/storage/volume/nexenta/src/org/apache/cloudstack/storage/datastore/util/NexentaNmsClient.java
index 70565fc..ed1a780 100644
--- a/plugins/storage/volume/nexenta/src/org/apache/cloudstack/storage/datastore/util/NexentaNmsClient.java
+++ b/plugins/storage/volume/nexenta/src/org/apache/cloudstack/storage/datastore/util/NexentaNmsClient.java
@@ -45,10 +45,11 @@ import org.apache.http.impl.client.DefaultHttpClient;
 import org.apache.http.impl.conn.BasicClientConnectionManager;
 import org.apache.log4j.Logger;
 
-import com.cloud.utils.exception.CloudRuntimeException;
 import com.google.gson.Gson;
 import com.google.gson.annotations.SerializedName;
 
+import com.cloud.utils.exception.CloudRuntimeException;
+
 public class NexentaNmsClient {
     private static final Logger logger = Logger.getLogger(NexentaNmsClient.class);
 
@@ -123,7 +124,7 @@ public class NexentaNmsClient {
         private Object[] params;
 
         NmsRequest(String object, String method) {
-            this(method, object, null);
+            this(object, method, (Object[])null);
         }
 
         NmsRequest(String object, String method, Object... params) {
@@ -132,6 +133,7 @@ public class NexentaNmsClient {
             this.params = params;
         }
 
+        @Override
         public String toString() {
             StringBuffer b = new StringBuffer();
             b.append("Request to ").append(object).append(" method ").append(method);


Mime
View raw message