cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject [06/15] git commit: updated refs/heads/master to 527d6ee
Date Mon, 29 Jun 2015 08:43:44 GMT
Formatting UpdateHostPasswordCmd class

   - Needs to be formatted before applying other changes

Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>


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

Branch: refs/heads/master
Commit: 305ce786e03a9350684052b120e4734d7b8c7616
Parents: 4e6fd0f
Author: wilderrodrigues <wrodrigues@schubergphilis.com>
Authored: Wed Jun 24 13:33:04 2015 +0200
Committer: wilderrodrigues <wrodrigues@schubergphilis.com>
Committed: Mon Jun 29 09:59:09 2015 +0200

----------------------------------------------------------------------
 .../api/command/admin/host/UpdateHostPasswordCmd.java         | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/305ce786/api/src/org/apache/cloudstack/api/command/admin/host/UpdateHostPasswordCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/admin/host/UpdateHostPasswordCmd.java
b/api/src/org/apache/cloudstack/api/command/admin/host/UpdateHostPasswordCmd.java
index 94f5825..91f47da 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/host/UpdateHostPasswordCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/host/UpdateHostPasswordCmd.java
@@ -16,8 +16,6 @@
 // under the License.
 package org.apache.cloudstack.api.command.admin.host;
 
-import org.apache.log4j.Logger;
-
 import org.apache.cloudstack.api.APICommand;
 import org.apache.cloudstack.api.ApiConstants;
 import org.apache.cloudstack.api.BaseCmd;
@@ -25,11 +23,12 @@ import org.apache.cloudstack.api.Parameter;
 import org.apache.cloudstack.api.response.ClusterResponse;
 import org.apache.cloudstack.api.response.HostResponse;
 import org.apache.cloudstack.api.response.SuccessResponse;
+import org.apache.log4j.Logger;
 
 import com.cloud.user.Account;
 
 @APICommand(name = "updateHostPassword", description = "Update password of a host/pool on
management server.", responseObject = SuccessResponse.class,
-        requestHasSensitiveInfo = true, responseHasSensitiveInfo = false)
+requestHasSensitiveInfo = true, responseHasSensitiveInfo = false)
 public class UpdateHostPasswordCmd extends BaseCmd {
     public static final Logger s_logger = Logger.getLogger(UpdateHostPasswordCmd.class.getName());
 
@@ -89,6 +88,6 @@ public class UpdateHostPasswordCmd extends BaseCmd {
     public void execute() {
         _mgr.updateHostPassword(this);
         _resourceService.updateHostPassword(this);
-        this.setResponseObject(new SuccessResponse(getCommandName()));
+        setResponseObject(new SuccessResponse(getCommandName()));
     }
 }


Mime
View raw message