You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ah...@apache.org on 2013/11/20 16:35:16 UTC

[29/51] [partial] Reformat all source code. Added checkstyle to check the source code

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnConnectionsCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnConnectionsCmd.java b/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnConnectionsCmd.java
index 6fb7d73..3b0308f 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnConnectionsCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnConnectionsCmd.java
@@ -31,28 +31,25 @@ import org.apache.log4j.Logger;
 import com.cloud.network.Site2SiteVpnConnection;
 import com.cloud.utils.Pair;
 
-@APICommand(name = "listVpnConnections", description="Lists site to site vpn connection gateways", responseObject=Site2SiteVpnConnectionResponse.class)
+@APICommand(name = "listVpnConnections", description = "Lists site to site vpn connection gateways", responseObject = Site2SiteVpnConnectionResponse.class)
 public class ListVpnConnectionsCmd extends BaseListProjectAndAccountResourcesCmd {
-    public static final Logger s_logger = Logger.getLogger (ListVpnConnectionsCmd.class.getName());
+    public static final Logger s_logger = Logger.getLogger(ListVpnConnectionsCmd.class.getName());
 
     private static final String s_name = "listvpnconnectionsresponse";
 
     /////////////////////////////////////////////////////
     //////////////// API parameters /////////////////////
     /////////////////////////////////////////////////////
-    @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType=Site2SiteVpnConnectionResponse.class,
-            description="id of the vpn connection")
+    @Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = Site2SiteVpnConnectionResponse.class, description = "id of the vpn connection")
     private Long id;
 
-    @Parameter(name=ApiConstants.VPC_ID, type=CommandType.UUID, entityType=VpcResponse.class,
-            description="id of vpc")
+    @Parameter(name = ApiConstants.VPC_ID, type = CommandType.UUID, entityType = VpcResponse.class, description = "id of vpc")
     private Long vpcId;
 
     /////////////////////////////////////////////////////
     /////////////////// Accessors ///////////////////////
     /////////////////////////////////////////////////////
 
-
     public Long getId() {
         return id;
     }
@@ -71,7 +68,7 @@ public class ListVpnConnectionsCmd extends BaseListProjectAndAccountResourcesCmd
     }
 
     @Override
-    public void execute(){
+    public void execute() {
         Pair<List<? extends Site2SiteVpnConnection>, Integer> conns = _s2sVpnService.searchForVpnConnections(this);
         ListResponse<Site2SiteVpnConnectionResponse> response = new ListResponse<Site2SiteVpnConnectionResponse>();
         List<Site2SiteVpnConnectionResponse> connResponses = new ArrayList<Site2SiteVpnConnectionResponse>();

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnCustomerGatewaysCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnCustomerGatewaysCmd.java b/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnCustomerGatewaysCmd.java
index 418cad5..446d502 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnCustomerGatewaysCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnCustomerGatewaysCmd.java
@@ -30,9 +30,9 @@ import org.apache.log4j.Logger;
 import com.cloud.network.Site2SiteCustomerGateway;
 import com.cloud.utils.Pair;
 
-@APICommand(name = "listVpnCustomerGateways", description="Lists site to site vpn customer gateways", responseObject=Site2SiteCustomerGatewayResponse.class)
+@APICommand(name = "listVpnCustomerGateways", description = "Lists site to site vpn customer gateways", responseObject = Site2SiteCustomerGatewayResponse.class)
 public class ListVpnCustomerGatewaysCmd extends BaseListProjectAndAccountResourcesCmd {
-    public static final Logger s_logger = Logger.getLogger (ListVpnCustomerGatewaysCmd.class.getName());
+    public static final Logger s_logger = Logger.getLogger(ListVpnCustomerGatewaysCmd.class.getName());
 
     private static final String s_name = "listvpncustomergatewaysresponse";
 
@@ -40,15 +40,13 @@ public class ListVpnCustomerGatewaysCmd extends BaseListProjectAndAccountResourc
     //////////////// API parameters /////////////////////
     /////////////////////////////////////////////////////
 
-    @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType=Site2SiteCustomerGatewayResponse.class,
-            description="id of the customer gateway")
+    @Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = Site2SiteCustomerGatewayResponse.class, description = "id of the customer gateway")
     private Long id;
 
     /////////////////////////////////////////////////////
     /////////////////// Accessors ///////////////////////
     /////////////////////////////////////////////////////
 
-
     public Long getId() {
         return id;
     }
@@ -63,7 +61,7 @@ public class ListVpnCustomerGatewaysCmd extends BaseListProjectAndAccountResourc
     }
 
     @Override
-    public void execute(){
+    public void execute() {
         Pair<List<? extends Site2SiteCustomerGateway>, Integer> gws = _s2sVpnService.searchForCustomerGateways(this);
         ListResponse<Site2SiteCustomerGatewayResponse> response = new ListResponse<Site2SiteCustomerGatewayResponse>();
         List<Site2SiteCustomerGatewayResponse> gwResponses = new ArrayList<Site2SiteCustomerGatewayResponse>();

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnGatewaysCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnGatewaysCmd.java b/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnGatewaysCmd.java
index 41981df..4d8108c 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnGatewaysCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnGatewaysCmd.java
@@ -31,9 +31,9 @@ import org.apache.log4j.Logger;
 import com.cloud.network.Site2SiteVpnGateway;
 import com.cloud.utils.Pair;
 
-@APICommand(name = "listVpnGateways", description="Lists site 2 site vpn gateways", responseObject=Site2SiteVpnGatewayResponse.class)
+@APICommand(name = "listVpnGateways", description = "Lists site 2 site vpn gateways", responseObject = Site2SiteVpnGatewayResponse.class)
 public class ListVpnGatewaysCmd extends BaseListProjectAndAccountResourcesCmd {
-    public static final Logger s_logger = Logger.getLogger (ListVpnGatewaysCmd.class.getName());
+    public static final Logger s_logger = Logger.getLogger(ListVpnGatewaysCmd.class.getName());
 
     private static final String s_name = "listvpngatewaysresponse";
 
@@ -41,11 +41,10 @@ public class ListVpnGatewaysCmd extends BaseListProjectAndAccountResourcesCmd {
     //////////////// API parameters /////////////////////
     /////////////////////////////////////////////////////
 
-    @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType=Site2SiteVpnGatewayResponse.class,
-            description="id of the vpn gateway")
+    @Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = Site2SiteVpnGatewayResponse.class, description = "id of the vpn gateway")
     private Long id;
 
-    @Parameter(name=ApiConstants.VPC_ID, type=CommandType.UUID, entityType=VpcResponse.class, description="id of vpc")
+    @Parameter(name = ApiConstants.VPC_ID, type = CommandType.UUID, entityType = VpcResponse.class, description = "id of vpc")
     private Long vpcId;
 
     /////////////////////////////////////////////////////
@@ -70,7 +69,7 @@ public class ListVpnGatewaysCmd extends BaseListProjectAndAccountResourcesCmd {
     }
 
     @Override
-    public void execute(){
+    public void execute() {
         Pair<List<? extends Site2SiteVpnGateway>, Integer> gws = _s2sVpnService.searchForVpnGateways(this);
         ListResponse<Site2SiteVpnGatewayResponse> response = new ListResponse<Site2SiteVpnGatewayResponse>();
         List<Site2SiteVpnGatewayResponse> gwResponses = new ArrayList<Site2SiteVpnGatewayResponse>();

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnUsersCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnUsersCmd.java b/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnUsersCmd.java
index 8a36f4b..ec53bec 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnUsersCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vpn/ListVpnUsersCmd.java
@@ -30,20 +30,19 @@ import org.apache.log4j.Logger;
 import com.cloud.network.VpnUser;
 import com.cloud.utils.Pair;
 
-@APICommand(name = "listVpnUsers", description="Lists vpn users", responseObject=VpnUsersResponse.class)
+@APICommand(name = "listVpnUsers", description = "Lists vpn users", responseObject = VpnUsersResponse.class)
 public class ListVpnUsersCmd extends BaseListProjectAndAccountResourcesCmd {
-    public static final Logger s_logger = Logger.getLogger (ListVpnUsersCmd.class.getName());
+    public static final Logger s_logger = Logger.getLogger(ListVpnUsersCmd.class.getName());
 
     private static final String s_name = "listvpnusersresponse";
 
     /////////////////////////////////////////////////////
     //////////////// API parameters /////////////////////
     /////////////////////////////////////////////////////
-    @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType=VpnUsersResponse.class,
-            description="The uuid of the Vpn user")
+    @Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = VpnUsersResponse.class, description = "The uuid of the Vpn user")
     private Long id;
 
-    @Parameter(name=ApiConstants.USERNAME, type=CommandType.STRING, description="the username of the vpn user.")
+    @Parameter(name = ApiConstants.USERNAME, type = CommandType.STRING, description = "the username of the vpn user.")
     private String userName;
 
     /////////////////////////////////////////////////////
@@ -68,7 +67,7 @@ public class ListVpnUsersCmd extends BaseListProjectAndAccountResourcesCmd {
     }
 
     @Override
-    public void execute(){
+    public void execute() {
         Pair<List<? extends VpnUser>, Integer> vpnUsers = _ravService.searchForVpnUsers(this);
 
         ListResponse<VpnUsersResponse> response = new ListResponse<VpnUsersResponse>();

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/command/user/vpn/RemoveVpnUserCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/vpn/RemoveVpnUserCmd.java b/api/src/org/apache/cloudstack/api/command/user/vpn/RemoveVpnUserCmd.java
index 9b3fa70..cee7302 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vpn/RemoveVpnUserCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vpn/RemoveVpnUserCmd.java
@@ -32,7 +32,7 @@ import org.apache.log4j.Logger;
 import com.cloud.event.EventTypes;
 import com.cloud.user.Account;
 
-@APICommand(name = "removeVpnUser", description="Removes vpn user", responseObject=SuccessResponse.class)
+@APICommand(name = "removeVpnUser", description = "Removes vpn user", responseObject = SuccessResponse.class)
 public class RemoveVpnUserCmd extends BaseAsyncCmd {
     public static final Logger s_logger = Logger.getLogger(RemoveVpnUserCmd.class.getName());
 
@@ -41,25 +41,25 @@ public class RemoveVpnUserCmd extends BaseAsyncCmd {
     /////////////////////////////////////////////////////
     //////////////// API parameters /////////////////////
     /////////////////////////////////////////////////////
-    @Parameter(name=ApiConstants.USERNAME, type=CommandType.STRING, required=true, description="username for the vpn user")
+    @Parameter(name = ApiConstants.USERNAME, type = CommandType.STRING, required = true, description = "username for the vpn user")
     private String userName;
 
-    @Parameter(name=ApiConstants.ACCOUNT, type=CommandType.STRING, description="an optional account for the vpn user. Must be used with domainId.")
+    @Parameter(name = ApiConstants.ACCOUNT, type = CommandType.STRING, description = "an optional account for the vpn user. Must be used with domainId.")
     private String accountName;
 
-    @Parameter(name=ApiConstants.PROJECT_ID, type=CommandType.UUID, entityType=ProjectResponse.class,
-            description="remove vpn user from the project")
+    @Parameter(name = ApiConstants.PROJECT_ID, type = CommandType.UUID, entityType = ProjectResponse.class, description = "remove vpn user from the project")
     private Long projectId;
 
-    @Parameter(name=ApiConstants.DOMAIN_ID, type=CommandType.UUID, entityType=DomainResponse.class,
-            description="an optional domainId for the vpn user. If the account parameter is used, domainId must also be used.")
+    @Parameter(name = ApiConstants.DOMAIN_ID,
+               type = CommandType.UUID,
+               entityType = DomainResponse.class,
+               description = "an optional domainId for the vpn user. If the account parameter is used, domainId must also be used.")
     private Long domainId;
 
     /////////////////////////////////////////////////////
     /////////////////// Accessors ///////////////////////
     /////////////////////////////////////////////////////
 
-
     public String getAccountName() {
         return accountName;
     }
@@ -76,7 +76,6 @@ public class RemoveVpnUserCmd extends BaseAsyncCmd {
         return projectId;
     }
 
-
     /////////////////////////////////////////////////////
     /////////////// API Implementation///////////////////
     /////////////////////////////////////////////////////
@@ -107,7 +106,7 @@ public class RemoveVpnUserCmd extends BaseAsyncCmd {
     }
 
     @Override
-    public void execute(){
+    public void execute() {
         Account owner = _accountService.getAccount(getEntityOwnerId());
         boolean result = _ravService.removeVpnUser(owner.getId(), userName, CallContext.current().getCallingAccount());
         if (!result) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/command/user/vpn/ResetVpnConnectionCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/vpn/ResetVpnConnectionCmd.java b/api/src/org/apache/cloudstack/api/command/user/vpn/ResetVpnConnectionCmd.java
index 6caa571..ff0c84d 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vpn/ResetVpnConnectionCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vpn/ResetVpnConnectionCmd.java
@@ -33,7 +33,7 @@ import com.cloud.exception.ResourceUnavailableException;
 import com.cloud.network.Site2SiteVpnConnection;
 import com.cloud.user.Account;
 
-@APICommand(name = "resetVpnConnection", description="Reset site to site vpn connection", responseObject=Site2SiteVpnConnectionResponse.class)
+@APICommand(name = "resetVpnConnection", description = "Reset site to site vpn connection", responseObject = Site2SiteVpnConnectionResponse.class)
 public class ResetVpnConnectionCmd extends BaseAsyncCmd {
     public static final Logger s_logger = Logger.getLogger(ResetVpnConnectionCmd.class.getName());
 
@@ -42,23 +42,22 @@ public class ResetVpnConnectionCmd extends BaseAsyncCmd {
     /////////////////////////////////////////////////////
     //////////////// API parameters /////////////////////
     /////////////////////////////////////////////////////
-    @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType=Site2SiteVpnConnectionResponse.class,
-            required=true, description="id of vpn connection")
+    @Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = Site2SiteVpnConnectionResponse.class, required = true, description = "id of vpn connection")
     private Long id;
 
-    @Parameter(name=ApiConstants.ACCOUNT, type=CommandType.STRING, description="an optional account for connection. " +
-            "Must be used with domainId.")
+    @Parameter(name = ApiConstants.ACCOUNT, type = CommandType.STRING, description = "an optional account for connection. " + "Must be used with domainId.")
     private String accountName;
 
-    @Parameter(name=ApiConstants.DOMAIN_ID, type=CommandType.UUID, entityType=DomainResponse.class,
-            description="an optional domainId for connection. If the account parameter is used, domainId must also be used.")
+    @Parameter(name = ApiConstants.DOMAIN_ID,
+               type = CommandType.UUID,
+               entityType = DomainResponse.class,
+               description = "an optional domainId for connection. If the account parameter is used, domainId must also be used.")
     private Long domainId;
 
     /////////////////////////////////////////////////////
     /////////////////// Accessors ///////////////////////
     /////////////////////////////////////////////////////
 
-
     public Long getDomainId() {
         return domainId;
     }
@@ -75,7 +74,6 @@ public class ResetVpnConnectionCmd extends BaseAsyncCmd {
     /////////////// API Implementation///////////////////
     /////////////////////////////////////////////////////
 
-
     @Override
     public String getCommandName() {
         return s_name;
@@ -101,7 +99,7 @@ public class ResetVpnConnectionCmd extends BaseAsyncCmd {
     }
 
     @Override
-    public void execute(){
+    public void execute() {
         try {
             Site2SiteVpnConnection result = _s2sVpnService.resetVpnConnection(this);
             if (result != null) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/command/user/vpn/UpdateVpnCustomerGatewayCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/vpn/UpdateVpnCustomerGatewayCmd.java b/api/src/org/apache/cloudstack/api/command/user/vpn/UpdateVpnCustomerGatewayCmd.java
index 72ecf8f..64ab1e3 100644
--- a/api/src/org/apache/cloudstack/api/command/user/vpn/UpdateVpnCustomerGatewayCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/vpn/UpdateVpnCustomerGatewayCmd.java
@@ -31,7 +31,7 @@ import org.apache.log4j.Logger;
 import com.cloud.event.EventTypes;
 import com.cloud.network.Site2SiteCustomerGateway;
 
-@APICommand(name = "updateVpnCustomerGateway", description="Update site to site vpn customer gateway", responseObject=Site2SiteCustomerGatewayResponse.class)
+@APICommand(name = "updateVpnCustomerGateway", description = "Update site to site vpn customer gateway", responseObject = Site2SiteCustomerGatewayResponse.class)
 public class UpdateVpnCustomerGatewayCmd extends BaseAsyncCmd {
     public static final Logger s_logger = Logger.getLogger(UpdateVpnCustomerGatewayCmd.class.getName());
 
@@ -40,50 +40,51 @@ public class UpdateVpnCustomerGatewayCmd extends BaseAsyncCmd {
     /////////////////////////////////////////////////////
     //////////////// API parameters /////////////////////
     /////////////////////////////////////////////////////
-    @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType=Site2SiteCustomerGatewayResponse.class,
-            required=true, description="id of customer gateway")
+    @Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = Site2SiteCustomerGatewayResponse.class, required = true, description = "id of customer gateway")
     private Long id;
 
-    @Parameter(name=ApiConstants.NAME, type=CommandType.STRING, required=false, description="name of this customer gateway")
+    @Parameter(name = ApiConstants.NAME, type = CommandType.STRING, required = false, description = "name of this customer gateway")
     private String name;
 
-    @Parameter(name=ApiConstants.GATEWAY, type=CommandType.STRING, required=true, description="public ip address id of the customer gateway")
+    @Parameter(name = ApiConstants.GATEWAY, type = CommandType.STRING, required = true, description = "public ip address id of the customer gateway")
     private String gatewayIp;
 
-    @Parameter(name=ApiConstants.CIDR_LIST, type=CommandType.STRING, required=true, description="guest cidr of the customer gateway")
+    @Parameter(name = ApiConstants.CIDR_LIST, type = CommandType.STRING, required = true, description = "guest cidr of the customer gateway")
     private String guestCidrList;
 
-    @Parameter(name=ApiConstants.IPSEC_PSK, type=CommandType.STRING, required=true, description="IPsec Preshared-Key of the customer gateway")
+    @Parameter(name = ApiConstants.IPSEC_PSK, type = CommandType.STRING, required = true, description = "IPsec Preshared-Key of the customer gateway")
     private String ipsecPsk;
 
-    @Parameter(name=ApiConstants.IKE_POLICY, type=CommandType.STRING, required=true, description="IKE policy of the customer gateway")
+    @Parameter(name = ApiConstants.IKE_POLICY, type = CommandType.STRING, required = true, description = "IKE policy of the customer gateway")
     private String ikePolicy;
 
-    @Parameter(name=ApiConstants.ESP_POLICY, type=CommandType.STRING, required=true, description="ESP policy of the customer gateway")
+    @Parameter(name = ApiConstants.ESP_POLICY, type = CommandType.STRING, required = true, description = "ESP policy of the customer gateway")
     private String espPolicy;
 
-    @Parameter(name=ApiConstants.IKE_LIFETIME, type=CommandType.LONG, required=false, description="Lifetime of phase 1 VPN connection to the customer gateway, in seconds")
+    @Parameter(name = ApiConstants.IKE_LIFETIME, type = CommandType.LONG, required = false, description = "Lifetime of phase 1 VPN connection to the customer gateway, in seconds")
     private Long ikeLifetime;
 
-    @Parameter(name=ApiConstants.ESP_LIFETIME, type=CommandType.LONG, required=false, description="Lifetime of phase 2 VPN connection to the customer gateway, in seconds")
+    @Parameter(name = ApiConstants.ESP_LIFETIME, type = CommandType.LONG, required = false, description = "Lifetime of phase 2 VPN connection to the customer gateway, in seconds")
     private Long espLifetime;
 
-    @Parameter(name=ApiConstants.DPD, type=CommandType.BOOLEAN, required=false, description="If DPD is enabled for VPN connection")
+    @Parameter(name = ApiConstants.DPD, type = CommandType.BOOLEAN, required = false, description = "If DPD is enabled for VPN connection")
     private Boolean dpd;
 
-    @Parameter(name=ApiConstants.ACCOUNT, type=CommandType.STRING, description="the account associated with the gateway. Must be used with the domainId parameter.")
+    @Parameter(name = ApiConstants.ACCOUNT, type = CommandType.STRING, description = "the account associated with the gateway. Must be used with the domainId parameter.")
     private String accountName;
 
-    @Parameter(name=ApiConstants.DOMAIN_ID, type=CommandType.UUID, entityType=DomainResponse.class,
-            description="the domain ID associated with the gateway. If used with the account parameter returns the " +
-                    "gateway associated with the account for the specified domain.")
+    @Parameter(name = ApiConstants.DOMAIN_ID,
+               type = CommandType.UUID,
+               entityType = DomainResponse.class,
+               description = "the domain ID associated with the gateway. If used with the account parameter returns the "
+                             + "gateway associated with the account for the specified domain.")
     private Long domainId;
 
     /////////////////////////////////////////////////////
     /////////////////// Accessors ///////////////////////
     /////////////////////////////////////////////////////
 
-     public Long getId() {
+    public Long getId() {
         return id;
     }
 
@@ -127,7 +128,6 @@ public class UpdateVpnCustomerGatewayCmd extends BaseAsyncCmd {
     /////////////// API Implementation///////////////////
     /////////////////////////////////////////////////////
 
-
     @Override
     public String getCommandName() {
         return s_name;
@@ -153,7 +153,7 @@ public class UpdateVpnCustomerGatewayCmd extends BaseAsyncCmd {
     }
 
     @Override
-    public void execute(){
+    public void execute() {
         Site2SiteCustomerGateway result = _s2sVpnService.updateCustomerGateway(this);
         if (result != null) {
             Site2SiteCustomerGatewayResponse response = _responseGenerator.createSite2SiteCustomerGatewayResponse(result);

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/command/user/zone/ListZonesByCmd.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/user/zone/ListZonesByCmd.java b/api/src/org/apache/cloudstack/api/command/user/zone/ListZonesByCmd.java
index 2a98cfb..8a50cbd 100644
--- a/api/src/org/apache/cloudstack/api/command/user/zone/ListZonesByCmd.java
+++ b/api/src/org/apache/cloudstack/api/command/user/zone/ListZonesByCmd.java
@@ -32,7 +32,7 @@ import org.apache.log4j.Logger;
 
 import com.cloud.exception.InvalidParameterValueException;
 
-@APICommand(name = "listZones", description="Lists zones", responseObject=ZoneResponse.class)
+@APICommand(name = "listZones", description = "Lists zones", responseObject = ZoneResponse.class)
 public class ListZonesByCmd extends BaseListCmd {
     public static final Logger s_logger = Logger.getLogger(ListZonesByCmd.class.getName());
 
@@ -41,29 +41,28 @@ public class ListZonesByCmd extends BaseListCmd {
     /////////////////////////////////////////////////////
     //////////////// API parameters /////////////////////
     /////////////////////////////////////////////////////
-    @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType=ZoneResponse.class,
-            description= "the ID of the zone")
+    @Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = ZoneResponse.class, description = "the ID of the zone")
     private Long id;
 
-    @Parameter(name=ApiConstants.AVAILABLE, type=CommandType.BOOLEAN,
-            description="true if you want to retrieve all available Zones. False if you only want to return the Zones" +
-                    " from which you have at least one VM. Default is false.")
+    @Parameter(name = ApiConstants.AVAILABLE,
+               type = CommandType.BOOLEAN,
+               description = "true if you want to retrieve all available Zones. False if you only want to return the Zones"
+                             + " from which you have at least one VM. Default is false.")
     private Boolean available;
 
-    @Parameter(name=ApiConstants.DOMAIN_ID, type=CommandType.UUID, entityType=DomainResponse.class,
-            description="the ID of the domain associated with the zone")
+    @Parameter(name = ApiConstants.DOMAIN_ID, type = CommandType.UUID, entityType = DomainResponse.class, description = "the ID of the domain associated with the zone")
     private Long domainId;
 
-    @Parameter(name=ApiConstants.NAME, type=CommandType.STRING, description="the name of the zone")
+    @Parameter(name = ApiConstants.NAME, type = CommandType.STRING, description = "the name of the zone")
     private String name;
 
-    @Parameter(name=ApiConstants.NETWORK_TYPE, type=CommandType.STRING, description="the network type of the zone that the virtual machine belongs to")
+    @Parameter(name = ApiConstants.NETWORK_TYPE, type = CommandType.STRING, description = "the network type of the zone that the virtual machine belongs to")
     private String networkType;
-    
-    @Parameter(name=ApiConstants.SHOW_CAPACITIES, type=CommandType.BOOLEAN, description="flag to display the capacity of the zones")
+
+    @Parameter(name = ApiConstants.SHOW_CAPACITIES, type = CommandType.BOOLEAN, description = "flag to display the capacity of the zones")
     private Boolean showCapacities;
-    
-    @Parameter(name = ApiConstants.TAGS, type = CommandType.MAP, description = "List zones by resource tags (key/value pairs)", since="4.3")
+
+    @Parameter(name = ApiConstants.TAGS, type = CommandType.MAP, description = "List zones by resource tags (key/value pairs)", since = "4.3")
     private Map tags;
 
     /////////////////////////////////////////////////////
@@ -78,22 +77,22 @@ public class ListZonesByCmd extends BaseListCmd {
         return available;
     }
 
-    public Long getDomainId(){
+    public Long getDomainId() {
         return domainId;
     }
 
-    public String getName(){
+    public String getName() {
         return name;
     }
 
     public String getNetworkType() {
         return networkType;
     }
-    
+
     public Boolean getShowCapacities() {
         return showCapacities;
     }
-    
+
     public Map<String, String> getTags() {
         Map<String, String> tagsMap = null;
         if (tags != null && !tags.isEmpty()) {
@@ -101,7 +100,7 @@ public class ListZonesByCmd extends BaseListCmd {
             Collection<?> servicesCollection = tags.values();
             Iterator<?> iter = servicesCollection.iterator();
             while (iter.hasNext()) {
-                HashMap<String, String> services = (HashMap<String, String>) iter.next();
+                HashMap<String, String> services = (HashMap<String, String>)iter.next();
                 String key = services.get("key");
                 String value = services.get("value");
                 if (value == null) {
@@ -123,7 +122,7 @@ public class ListZonesByCmd extends BaseListCmd {
     }
 
     @Override
-    public void execute(){
+    public void execute() {
 
         ListResponse<ZoneResponse> response = _queryService.listDataCenters(this);
         response.setResponseName(getCommandName());

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/AccountResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/AccountResponse.java b/api/src/org/apache/cloudstack/api/response/AccountResponse.java
index 957936b..b7d30ca 100644
--- a/api/src/org/apache/cloudstack/api/response/AccountResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/AccountResponse.java
@@ -31,162 +31,213 @@ import com.cloud.user.Account;
 @SuppressWarnings("unused")
 @EntityReference(value = Account.class)
 public class AccountResponse extends BaseResponse implements ResourceLimitAndCountResponse {
-    @SerializedName(ApiConstants.ID) @Param(description="the id of the account")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the id of the account")
     private String id;
 
-    @SerializedName(ApiConstants.NAME) @Param(description="the name of the account")
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "the name of the account")
     private String name;
 
-    @SerializedName(ApiConstants.ACCOUNT_TYPE) @Param(description="account type (admin, domain-admin, user)")
+    @SerializedName(ApiConstants.ACCOUNT_TYPE)
+    @Param(description = "account type (admin, domain-admin, user)")
     private Short accountType;
 
-    @SerializedName(ApiConstants.DOMAIN_ID) @Param(description="id of the Domain the account belongs too")
+    @SerializedName(ApiConstants.DOMAIN_ID)
+    @Param(description = "id of the Domain the account belongs too")
     private String domainId;
 
-    @SerializedName(ApiConstants.DOMAIN) @Param(description="name of the Domain the account belongs too")
+    @SerializedName(ApiConstants.DOMAIN)
+    @Param(description = "name of the Domain the account belongs too")
     private String domainName;
 
-    @SerializedName(ApiConstants.DEFAULT_ZONE_ID) @Param(description="the default zone of the account")
+    @SerializedName(ApiConstants.DEFAULT_ZONE_ID)
+    @Param(description = "the default zone of the account")
     private String defaultZoneId;
 
-    @SerializedName(ApiConstants.RECEIVED_BYTES) @Param(description="the total number of network traffic bytes received")
+    @SerializedName(ApiConstants.RECEIVED_BYTES)
+    @Param(description = "the total number of network traffic bytes received")
     private Long bytesReceived;
 
-    @SerializedName(ApiConstants.SENT_BYTES) @Param(description="the total number of network traffic bytes sent")
+    @SerializedName(ApiConstants.SENT_BYTES)
+    @Param(description = "the total number of network traffic bytes sent")
     private Long bytesSent;
 
-    @SerializedName(ApiConstants.VM_LIMIT) @Param(description="the total number of virtual machines that can be deployed by this account")
+    @SerializedName(ApiConstants.VM_LIMIT)
+    @Param(description = "the total number of virtual machines that can be deployed by this account")
     private String vmLimit;
 
-    @SerializedName(ApiConstants.VM_TOTAL) @Param(description="the total number of virtual machines deployed by this account")
+    @SerializedName(ApiConstants.VM_TOTAL)
+    @Param(description = "the total number of virtual machines deployed by this account")
     private Long vmTotal;
 
-    @SerializedName(ApiConstants.VM_AVAILABLE) @Param(description="the total number of virtual machines available for this account to acquire")
+    @SerializedName(ApiConstants.VM_AVAILABLE)
+    @Param(description = "the total number of virtual machines available for this account to acquire")
     private String vmAvailable;
 
-    @SerializedName(ApiConstants.IP_LIMIT) @Param(description="the total number of public ip addresses this account can acquire")
+    @SerializedName(ApiConstants.IP_LIMIT)
+    @Param(description = "the total number of public ip addresses this account can acquire")
     private String ipLimit;
 
-    @SerializedName(ApiConstants.IP_TOTAL) @Param(description="the total number of public ip addresses allocated for this account")
+    @SerializedName(ApiConstants.IP_TOTAL)
+    @Param(description = "the total number of public ip addresses allocated for this account")
     private Long ipTotal;
 
-    @SerializedName(ApiConstants.IP_AVAILABLE) @Param(description="the total number of public ip addresses available for this account to acquire")
+    @SerializedName(ApiConstants.IP_AVAILABLE)
+    @Param(description = "the total number of public ip addresses available for this account to acquire")
     private String ipAvailable;
 
-    @SerializedName("volumelimit") @Param(description="the total volume which can be used by this account")
+    @SerializedName("volumelimit")
+    @Param(description = "the total volume which can be used by this account")
     private String volumeLimit;
 
-    @SerializedName("volumetotal") @Param(description="the total volume being used by this account")
+    @SerializedName("volumetotal")
+    @Param(description = "the total volume being used by this account")
     private Long volumeTotal;
 
-    @SerializedName("volumeavailable") @Param(description="the total volume available for this account")
+    @SerializedName("volumeavailable")
+    @Param(description = "the total volume available for this account")
     private String volumeAvailable;
 
-    @SerializedName("snapshotlimit") @Param(description="the total number of snapshots which can be stored by this account")
+    @SerializedName("snapshotlimit")
+    @Param(description = "the total number of snapshots which can be stored by this account")
     private String snapshotLimit;
 
-    @SerializedName("snapshottotal") @Param(description="the total number of snapshots stored by this account")
+    @SerializedName("snapshottotal")
+    @Param(description = "the total number of snapshots stored by this account")
     private Long snapshotTotal;
 
-    @SerializedName("snapshotavailable") @Param(description="the total number of snapshots available for this account")
+    @SerializedName("snapshotavailable")
+    @Param(description = "the total number of snapshots available for this account")
     private String snapshotAvailable;
 
-    @SerializedName("templatelimit") @Param(description="the total number of templates which can be created by this account")
+    @SerializedName("templatelimit")
+    @Param(description = "the total number of templates which can be created by this account")
     private String templateLimit;
 
-    @SerializedName("templatetotal") @Param(description="the total number of templates which have been created by this account")
+    @SerializedName("templatetotal")
+    @Param(description = "the total number of templates which have been created by this account")
     private Long templateTotal;
 
-    @SerializedName("templateavailable") @Param(description="the total number of templates available to be created by this account")
+    @SerializedName("templateavailable")
+    @Param(description = "the total number of templates available to be created by this account")
     private String templateAvailable;
 
-    @SerializedName("vmstopped") @Param(description="the total number of virtual machines stopped for this account")
+    @SerializedName("vmstopped")
+    @Param(description = "the total number of virtual machines stopped for this account")
     private Integer vmStopped;
 
-    @SerializedName("vmrunning") @Param(description="the total number of virtual machines running for this account")
+    @SerializedName("vmrunning")
+    @Param(description = "the total number of virtual machines running for this account")
     private Integer vmRunning;
 
-    @SerializedName("projectlimit") @Param(description="the total number of projects the account can own", since="3.0.1")
+    @SerializedName("projectlimit")
+    @Param(description = "the total number of projects the account can own", since = "3.0.1")
     private String projectLimit;
 
-    @SerializedName("projecttotal") @Param(description="the total number of projects being administrated by this account", since="3.0.1")
+    @SerializedName("projecttotal")
+    @Param(description = "the total number of projects being administrated by this account", since = "3.0.1")
     private Long projectTotal;
 
-    @SerializedName("projectavailable") @Param(description="the total number of projects available for administration by this account", since="3.0.1")
+    @SerializedName("projectavailable")
+    @Param(description = "the total number of projects available for administration by this account", since = "3.0.1")
     private String projectAvailable;
 
-    @SerializedName("networklimit") @Param(description="the total number of networks the account can own", since="3.0.1")
+    @SerializedName("networklimit")
+    @Param(description = "the total number of networks the account can own", since = "3.0.1")
     private String networkLimit;
 
-    @SerializedName("networktotal") @Param(description="the total number of networks owned by account", since="3.0.1")
+    @SerializedName("networktotal")
+    @Param(description = "the total number of networks owned by account", since = "3.0.1")
     private Long networkTotal;
 
-    @SerializedName("networkavailable") @Param(description="the total number of networks available to be created for this account", since="3.0.1")
+    @SerializedName("networkavailable")
+    @Param(description = "the total number of networks available to be created for this account", since = "3.0.1")
     private String networkAvailable;
 
-    @SerializedName("vpclimit") @Param(description="the total number of vpcs the account can own", since="4.0.0")
+    @SerializedName("vpclimit")
+    @Param(description = "the total number of vpcs the account can own", since = "4.0.0")
     private String vpcLimit;
 
-    @SerializedName("vpctotal") @Param(description="the total number of vpcs owned by account", since="4.0.0")
+    @SerializedName("vpctotal")
+    @Param(description = "the total number of vpcs owned by account", since = "4.0.0")
     private Long vpcTotal;
 
-    @SerializedName("vpcavailable") @Param(description="the total number of vpcs available to be created for this account", since="4.0.0")
+    @SerializedName("vpcavailable")
+    @Param(description = "the total number of vpcs available to be created for this account", since = "4.0.0")
     private String vpcAvailable;
 
-    @SerializedName("cpulimit") @Param(description="the total number of cpu cores the account can own", since="4.2.0")
+    @SerializedName("cpulimit")
+    @Param(description = "the total number of cpu cores the account can own", since = "4.2.0")
     private String cpuLimit;
 
-    @SerializedName("cputotal") @Param(description="the total number of cpu cores owned by account", since="4.2.0")
+    @SerializedName("cputotal")
+    @Param(description = "the total number of cpu cores owned by account", since = "4.2.0")
     private Long cpuTotal;
 
-    @SerializedName("cpuavailable") @Param(description="the total number of cpu cores available to be created for this account", since="4.2.0")
+    @SerializedName("cpuavailable")
+    @Param(description = "the total number of cpu cores available to be created for this account", since = "4.2.0")
     private String cpuAvailable;
 
-    @SerializedName("memorylimit") @Param(description="the total memory (in MB) the account can own", since="4.2.0")
+    @SerializedName("memorylimit")
+    @Param(description = "the total memory (in MB) the account can own", since = "4.2.0")
     private String memoryLimit;
 
-    @SerializedName("memorytotal") @Param(description="the total memory (in MB) owned by account", since="4.2.0")
+    @SerializedName("memorytotal")
+    @Param(description = "the total memory (in MB) owned by account", since = "4.2.0")
     private Long memoryTotal;
 
-    @SerializedName("memoryavailable") @Param(description="the total memory (in MB) available to be created for this account", since="4.2.0")
+    @SerializedName("memoryavailable")
+    @Param(description = "the total memory (in MB) available to be created for this account", since = "4.2.0")
     private String memoryAvailable;
 
-    @SerializedName("primarystoragelimit") @Param(description="the total primary storage space (in GiB) the account can own", since="4.2.0")
+    @SerializedName("primarystoragelimit")
+    @Param(description = "the total primary storage space (in GiB) the account can own", since = "4.2.0")
     private String primaryStorageLimit;
 
-    @SerializedName("primarystoragetotal") @Param(description="the total primary storage space (in GiB) owned by account", since="4.2.0")
+    @SerializedName("primarystoragetotal")
+    @Param(description = "the total primary storage space (in GiB) owned by account", since = "4.2.0")
     private Long primaryStorageTotal;
 
-    @SerializedName("primarystorageavailable") @Param(description="the total primary storage space (in GiB) available to be used for this account", since="4.2.0")
+    @SerializedName("primarystorageavailable")
+    @Param(description = "the total primary storage space (in GiB) available to be used for this account", since = "4.2.0")
     private String primaryStorageAvailable;
 
-    @SerializedName("secondarystoragelimit") @Param(description="the total secondary storage space (in GiB) the account can own", since="4.2.0")
+    @SerializedName("secondarystoragelimit")
+    @Param(description = "the total secondary storage space (in GiB) the account can own", since = "4.2.0")
     private String secondaryStorageLimit;
 
-    @SerializedName("secondarystoragetotal") @Param(description="the total secondary storage space (in GiB) owned by account", since="4.2.0")
+    @SerializedName("secondarystoragetotal")
+    @Param(description = "the total secondary storage space (in GiB) owned by account", since = "4.2.0")
     private Long secondaryStorageTotal;
 
-    @SerializedName("secondarystorageavailable") @Param(description="the total secondary storage space (in GiB) available to be used for this account", since="4.2.0")
+    @SerializedName("secondarystorageavailable")
+    @Param(description = "the total secondary storage space (in GiB) available to be used for this account", since = "4.2.0")
     private String secondaryStorageAvailable;
 
-    @SerializedName(ApiConstants.STATE) @Param(description="the state of the account")
+    @SerializedName(ApiConstants.STATE)
+    @Param(description = "the state of the account")
     private String state;
 
-    @SerializedName(ApiConstants.IS_CLEANUP_REQUIRED) @Param(description="true if the account requires cleanup")
+    @SerializedName(ApiConstants.IS_CLEANUP_REQUIRED)
+    @Param(description = "true if the account requires cleanup")
     private Boolean cleanupRequired;
 
-    @SerializedName("user")  @Param(description="the list of users associated with account", responseObject = UserResponse.class)
+    @SerializedName("user")
+    @Param(description = "the list of users associated with account", responseObject = UserResponse.class)
     private List<UserResponse> users;
 
-    @SerializedName(ApiConstants.NETWORK_DOMAIN) @Param(description="the network domain")
+    @SerializedName(ApiConstants.NETWORK_DOMAIN)
+    @Param(description = "the network domain")
     private String networkDomain;
 
-    @SerializedName(ApiConstants.ACCOUNT_DETAILS) @Param(description="details for the account")
+    @SerializedName(ApiConstants.ACCOUNT_DETAILS)
+    @Param(description = "details for the account")
     private Map<String, String> details;
-    
-    @SerializedName(ApiConstants.IS_DEFAULT) @Param(description="true if account is default, false otherwise", since="4.2.0")
-    private Boolean isDefault;
 
+    @SerializedName(ApiConstants.IS_DEFAULT)
+    @Param(description = "true if account is default, false otherwise", since = "4.2.0")
+    private Boolean isDefault;
 
     @Override
     public String getObjectId() {
@@ -347,7 +398,7 @@ public class AccountResponse extends BaseResponse implements ResourceLimitAndCou
     public void setNetworkTotal(Long networkTotal) {
         this.networkTotal = networkTotal;
     }
-    
+
     @Override
     public void setNetworkAvailable(String networkAvailable) {
         this.networkAvailable = networkAvailable;
@@ -362,7 +413,7 @@ public class AccountResponse extends BaseResponse implements ResourceLimitAndCou
     public void setVpcTotal(Long vpcTotal) {
         this.vpcTotal = vpcTotal;
     }
-    
+
     @Override
     public void setVpcAvailable(String vpcAvailable) {
         this.vpcAvailable = vpcAvailable;
@@ -372,66 +423,66 @@ public class AccountResponse extends BaseResponse implements ResourceLimitAndCou
     public void setCpuLimit(String cpuLimit) {
         this.cpuLimit = cpuLimit;
     }
-    
+
     @Override
     public void setCpuTotal(Long cpuTotal) {
         this.cpuTotal = cpuTotal;
     }
-    
+
     @Override
     public void setCpuAvailable(String cpuAvailable) {
         this.cpuAvailable = cpuAvailable;
     }
-    
+
     @Override
     public void setMemoryLimit(String memoryLimit) {
         this.memoryLimit = memoryLimit;
     }
-    
+
     @Override
     public void setMemoryTotal(Long memoryTotal) {
         this.memoryTotal = memoryTotal;
     }
-    
+
     @Override
     public void setMemoryAvailable(String memoryAvailable) {
         this.memoryAvailable = memoryAvailable;
     }
-    
+
     @Override
     public void setPrimaryStorageLimit(String primaryStorageLimit) {
         this.primaryStorageLimit = primaryStorageLimit;
     }
-    
+
     @Override
     public void setPrimaryStorageTotal(Long primaryStorageTotal) {
         this.primaryStorageTotal = primaryStorageTotal;
     }
-    
+
     @Override
     public void setPrimaryStorageAvailable(String primaryStorageAvailable) {
         this.primaryStorageAvailable = primaryStorageAvailable;
     }
-    
+
     @Override
     public void setSecondaryStorageLimit(String secondaryStorageLimit) {
         this.secondaryStorageLimit = secondaryStorageLimit;
     }
-    
+
     @Override
     public void setSecondaryStorageTotal(Long secondaryStorageTotal) {
         this.secondaryStorageTotal = secondaryStorageTotal;
     }
-    
+
     @Override
     public void setSecondaryStorageAvailable(String secondaryStorageAvailable) {
         this.secondaryStorageAvailable = secondaryStorageAvailable;
     }
-    
+
     public void setDefaultZone(String defaultZoneId) {
         this.defaultZoneId = defaultZoneId;
     }
-    
+
     public void setIsDefault(Boolean isDefault) {
         this.isDefault = isDefault;
     }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/AddIpToVmNicResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/AddIpToVmNicResponse.java b/api/src/org/apache/cloudstack/api/response/AddIpToVmNicResponse.java
index 9af20b2..0f339be 100644
--- a/api/src/org/apache/cloudstack/api/response/AddIpToVmNicResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/AddIpToVmNicResponse.java
@@ -15,6 +15,7 @@
 // specific language governing permissions and limitations
 // under the License.
 package org.apache.cloudstack.api.response;
+
 import java.util.Date;
 import java.util.List;
 
@@ -26,19 +27,24 @@ import com.google.gson.annotations.SerializedName;
 
 @SuppressWarnings("unused")
 public class AddIpToVmNicResponse extends BaseResponse {
-    @SerializedName(ApiConstants.ID) @Param(description="the ID of the secondary private IP addr")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the ID of the secondary private IP addr")
     private Long id;
 
-    @SerializedName(ApiConstants.IP_ADDRESS) @Param(description="Secondary IP address")
+    @SerializedName(ApiConstants.IP_ADDRESS)
+    @Param(description = "Secondary IP address")
     private String ipAddr;
 
-    @SerializedName(ApiConstants.NIC_ID) @Param(description="the ID of the nic")
+    @SerializedName(ApiConstants.NIC_ID)
+    @Param(description = "the ID of the nic")
     private Long nicId;
 
-    @SerializedName(ApiConstants.NETWORK_ID) @Param(description="the ID of the network")
-    private  Long nwId;
+    @SerializedName(ApiConstants.NETWORK_ID)
+    @Param(description = "the ID of the network")
+    private Long nwId;
 
-    @SerializedName(ApiConstants.VIRTUAL_MACHINE_ID) @Param(description="the ID of the vm")
+    @SerializedName(ApiConstants.VIRTUAL_MACHINE_ID)
+    @Param(description = "the ID of the vm")
     private Long vmId;
 
     public Long getId() {
@@ -81,5 +87,4 @@ public class AddIpToVmNicResponse extends BaseResponse {
         return id;
     }
 
-
 }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/AlertResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/AlertResponse.java b/api/src/org/apache/cloudstack/api/response/AlertResponse.java
index f3755e5..308ced5 100644
--- a/api/src/org/apache/cloudstack/api/response/AlertResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/AlertResponse.java
@@ -26,26 +26,27 @@ import com.cloud.alert.Alert;
 import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
-@EntityReference(value=Alert.class)
+@EntityReference(value = Alert.class)
 @SuppressWarnings("unused")
 public class AlertResponse extends BaseResponse {
-    @SerializedName(ApiConstants.ID) @Param(description="the id of the alert")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the id of the alert")
     private String id;
 
-    @SerializedName(ApiConstants.TYPE) @Param(description="One of the following alert types: " +
-      "MEMORY = 0, CPU = 1, STORAGE = 2, STORAGE_ALLOCATED = 3, PUBLIC_IP = 4, PRIVATE_IP = 5, HOST = 6, USERVM = 7, " +
-      "DOMAIN_ROUTER = 8, CONSOLE_PROXY = 9, ROUTING = 10: lost connection to default route (to the gateway), " +
-      "STORAGE_MISC = 11: lost connection to default route (to the gateway), " +
-      "USAGE_SERVER = 12: lost connection to default route (to the gateway), " +
-      "MANAGMENT_NODE = 13: lost connection to default route (to the gateway), " +
-      "DOMAIN_ROUTER_MIGRATE = 14, CONSOLE_PROXY_MIGRATE = 15, USERVM_MIGRATE = 16, VLAN = 17, SSVM = 18, " +
-      "USAGE_SERVER_RESULT = 19")
+    @SerializedName(ApiConstants.TYPE)
+    @Param(description = "One of the following alert types: " + "MEMORY = 0, CPU = 1, STORAGE = 2, STORAGE_ALLOCATED = 3, PUBLIC_IP = 4, PRIVATE_IP = 5, HOST = 6, USERVM = 7, "
+                         + "DOMAIN_ROUTER = 8, CONSOLE_PROXY = 9, ROUTING = 10: lost connection to default route (to the gateway), "
+                         + "STORAGE_MISC = 11: lost connection to default route (to the gateway), " + "USAGE_SERVER = 12: lost connection to default route (to the gateway), "
+                         + "MANAGMENT_NODE = 13: lost connection to default route (to the gateway), "
+                         + "DOMAIN_ROUTER_MIGRATE = 14, CONSOLE_PROXY_MIGRATE = 15, USERVM_MIGRATE = 16, VLAN = 17, SSVM = 18, " + "USAGE_SERVER_RESULT = 19")
     private Short alertType;
 
-    @SerializedName(ApiConstants.DESCRIPTION) @Param(description="description of the alert")
+    @SerializedName(ApiConstants.DESCRIPTION)
+    @Param(description = "description of the alert")
     private String description;
 
-    @SerializedName(ApiConstants.SENT) @Param(description="the date and time the alert was sent")
+    @SerializedName(ApiConstants.SENT)
+    @Param(description = "the date and time the alert was sent")
     private Date lastSent;
 
     public void setId(String id) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/ApplicationLoadBalancerInstanceResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/ApplicationLoadBalancerInstanceResponse.java b/api/src/org/apache/cloudstack/api/response/ApplicationLoadBalancerInstanceResponse.java
index 2d6614d..3ccf6d1 100644
--- a/api/src/org/apache/cloudstack/api/response/ApplicationLoadBalancerInstanceResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ApplicationLoadBalancerInstanceResponse.java
@@ -29,21 +29,23 @@ import com.google.gson.annotations.SerializedName;
  */
 
 @SuppressWarnings("unused")
-public class ApplicationLoadBalancerInstanceResponse extends BaseResponse{
-    
-    @SerializedName(ApiConstants.ID) @Param(description = "the instance ID")
+public class ApplicationLoadBalancerInstanceResponse extends BaseResponse {
+
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the instance ID")
     private String id;
-    
-    @SerializedName(ApiConstants.NAME) @Param(description = "the name of the instance")
+
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "the name of the instance")
     private String name;
-    
-    @SerializedName(ApiConstants.STATE) @Param(description="the state of the instance")
+
+    @SerializedName(ApiConstants.STATE)
+    @Param(description = "the state of the instance")
     private String state;
-    
+
     @SerializedName(ApiConstants.IP_ADDRESS)
-    @Param(description="the ip address of the instance")
+    @Param(description = "the ip address of the instance")
     private String ipAddress;
-    
 
     public void setId(String id) {
         this.id = id;

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/ApplicationLoadBalancerResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/ApplicationLoadBalancerResponse.java b/api/src/org/apache/cloudstack/api/response/ApplicationLoadBalancerResponse.java
index de9bce6..ef5c8d4 100644
--- a/api/src/org/apache/cloudstack/api/response/ApplicationLoadBalancerResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ApplicationLoadBalancerResponse.java
@@ -28,53 +28,65 @@ import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
 @SuppressWarnings("unused")
-public class ApplicationLoadBalancerResponse extends BaseResponse implements ControlledEntityResponse{
-    @SerializedName(ApiConstants.ID) @Param(description = "the Load Balancer ID")
+public class ApplicationLoadBalancerResponse extends BaseResponse implements ControlledEntityResponse {
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the Load Balancer ID")
     private String id;
 
-    @SerializedName(ApiConstants.NAME) @Param(description = "the name of the Load Balancer")
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "the name of the Load Balancer")
     private String name;
 
-    @SerializedName(ApiConstants.DESCRIPTION) @Param(description = "the description of the Load Balancer")
+    @SerializedName(ApiConstants.DESCRIPTION)
+    @Param(description = "the description of the Load Balancer")
     private String description;
-    
-    @SerializedName(ApiConstants.ALGORITHM) @Param(description = "the load balancer algorithm (source, roundrobin, leastconn)")
+
+    @SerializedName(ApiConstants.ALGORITHM)
+    @Param(description = "the load balancer algorithm (source, roundrobin, leastconn)")
     private String algorithm;
-    
-    @SerializedName(ApiConstants.NETWORK_ID) @Param(description="Load Balancer network id")
+
+    @SerializedName(ApiConstants.NETWORK_ID)
+    @Param(description = "Load Balancer network id")
     private String networkId;
-    
-    @SerializedName(ApiConstants.SOURCE_IP) @Param(description="Load Balancer source ip")
+
+    @SerializedName(ApiConstants.SOURCE_IP)
+    @Param(description = "Load Balancer source ip")
     private String sourceIp;
-    
-    @SerializedName(ApiConstants.SOURCE_IP_NETWORK_ID) @Param(description="Load Balancer source ip network id")
+
+    @SerializedName(ApiConstants.SOURCE_IP_NETWORK_ID)
+    @Param(description = "Load Balancer source ip network id")
     private String sourceIpNetworkId;
-    
+
     @SerializedName(ApiConstants.ACCOUNT)
     @Param(description = "the account of the Load Balancer")
     private String accountName;
 
-    @SerializedName(ApiConstants.PROJECT_ID) @Param(description="the project id of the Load Balancer")
+    @SerializedName(ApiConstants.PROJECT_ID)
+    @Param(description = "the project id of the Load Balancer")
     private String projectId;
 
-    @SerializedName(ApiConstants.PROJECT) @Param(description="the project name of the Load Balancer")
+    @SerializedName(ApiConstants.PROJECT)
+    @Param(description = "the project name of the Load Balancer")
     private String projectName;
 
     @SerializedName(ApiConstants.DOMAIN_ID)
     @Param(description = "the domain ID of the Load Balancer")
     private String domainId;
-    
+
     @SerializedName(ApiConstants.DOMAIN)
     @Param(description = "the domain of the Load Balancer")
     private String domainName;
-    
-    @SerializedName("loadbalancerrule")  @Param(description="the list of rules associated with the Load Balancer", responseObject = ApplicationLoadBalancerRuleResponse.class)
+
+    @SerializedName("loadbalancerrule")
+    @Param(description = "the list of rules associated with the Load Balancer", responseObject = ApplicationLoadBalancerRuleResponse.class)
     private List<ApplicationLoadBalancerRuleResponse> lbRules;
-    
-    @SerializedName("loadbalancerinstance")  @Param(description="the list of instances associated with the Load Balancer", responseObject = ApplicationLoadBalancerInstanceResponse.class)
+
+    @SerializedName("loadbalancerinstance")
+    @Param(description = "the list of instances associated with the Load Balancer", responseObject = ApplicationLoadBalancerInstanceResponse.class)
     private List<ApplicationLoadBalancerInstanceResponse> lbInstances;
-    
-    @SerializedName(ApiConstants.TAGS)  @Param(description="the list of resource tags associated with the Load Balancer", responseObject = ResourceTagResponse.class)
+
+    @SerializedName(ApiConstants.TAGS)
+    @Param(description = "the list of resource tags associated with the Load Balancer", responseObject = ResourceTagResponse.class)
     private List<ResourceTagResponse> tags;
 
     public void setAccountName(String accountName) {
@@ -89,7 +101,7 @@ public class ApplicationLoadBalancerResponse extends BaseResponse implements Con
     public void setDomainName(String domainName) {
         this.domainName = domainName;
     }
-    
+
     @Override
     public void setProjectId(String projectId) {
         this.projectId = projectId;

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/ApplicationLoadBalancerRuleResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/ApplicationLoadBalancerRuleResponse.java b/api/src/org/apache/cloudstack/api/response/ApplicationLoadBalancerRuleResponse.java
index ffc64d5..2de19b7 100644
--- a/api/src/org/apache/cloudstack/api/response/ApplicationLoadBalancerRuleResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ApplicationLoadBalancerRuleResponse.java
@@ -27,14 +27,17 @@ import com.google.gson.annotations.SerializedName;
  * Subobject of the load balancer container response
  */
 @SuppressWarnings("unused")
-public class ApplicationLoadBalancerRuleResponse extends BaseResponse{
-    @SerializedName(ApiConstants.SOURCE_PORT) @Param(description = "source port of the load balancer rule")
+public class ApplicationLoadBalancerRuleResponse extends BaseResponse {
+    @SerializedName(ApiConstants.SOURCE_PORT)
+    @Param(description = "source port of the load balancer rule")
     private Integer sourcePort;
-    
-    @SerializedName(ApiConstants.INSTANCE_PORT) @Param(description = "instance port of the load balancer rule")
+
+    @SerializedName(ApiConstants.INSTANCE_PORT)
+    @Param(description = "instance port of the load balancer rule")
     private Integer instancePort;
-    
-    @SerializedName(ApiConstants.STATE) @Param(description = "the state of the load balancer rule")
+
+    @SerializedName(ApiConstants.STATE)
+    @Param(description = "the state of the load balancer rule")
     private String state;
 
     public void setSourcePort(Integer sourcePort) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/AsyncJobResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/AsyncJobResponse.java b/api/src/org/apache/cloudstack/api/response/AsyncJobResponse.java
index 1d06af0..70bbeee 100644
--- a/api/src/org/apache/cloudstack/api/response/AsyncJobResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/AsyncJobResponse.java
@@ -31,37 +31,48 @@ import com.cloud.serializer.Param;
 @EntityReference(value = JobInfo.class)
 public class AsyncJobResponse extends BaseResponse {
 
-    @SerializedName("accountid") @Param(description="the account that executed the async command")
+    @SerializedName("accountid")
+    @Param(description = "the account that executed the async command")
     private String accountId;
 
-    @SerializedName(ApiConstants.USER_ID) @Param(description="the user that executed the async command")
+    @SerializedName(ApiConstants.USER_ID)
+    @Param(description = "the user that executed the async command")
     private String userId;
 
-    @SerializedName("cmd") @Param(description="the async command executed")
+    @SerializedName("cmd")
+    @Param(description = "the async command executed")
     private String cmd;
 
-    @SerializedName("jobstatus") @Param(description="the current job status-should be 0 for PENDING")
+    @SerializedName("jobstatus")
+    @Param(description = "the current job status-should be 0 for PENDING")
     private Integer jobStatus;
 
-    @SerializedName("jobprocstatus") @Param(description="the progress information of the PENDING job")
+    @SerializedName("jobprocstatus")
+    @Param(description = "the progress information of the PENDING job")
     private Integer jobProcStatus;
 
-    @SerializedName("jobresultcode") @Param(description="the result code for the job")
+    @SerializedName("jobresultcode")
+    @Param(description = "the result code for the job")
     private Integer jobResultCode;
 
-    @SerializedName("jobresulttype") @Param(description="the result type")
+    @SerializedName("jobresulttype")
+    @Param(description = "the result type")
     private String jobResultType;
 
-    @SerializedName("jobresult") @Param(description="the result reason")
+    @SerializedName("jobresult")
+    @Param(description = "the result reason")
     private ResponseObject jobResult;
 
-    @SerializedName("jobinstancetype") @Param(description="the instance/entity object related to the job")
+    @SerializedName("jobinstancetype")
+    @Param(description = "the instance/entity object related to the job")
     private String jobInstanceType;
 
-    @SerializedName("jobinstanceid") @Param(description="the unique ID of the instance/entity object related to the job")
+    @SerializedName("jobinstanceid")
+    @Param(description = "the unique ID of the instance/entity object related to the job")
     private String jobInstanceId;
 
-    @SerializedName(ApiConstants.CREATED) @Param(description="  the created date of the job")
+    @SerializedName(ApiConstants.CREATED)
+    @Param(description = "  the created date of the job")
     private Date created;
 
     public void setAccountId(String accountId) {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/AutoScalePolicyResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/AutoScalePolicyResponse.java b/api/src/org/apache/cloudstack/api/response/AutoScalePolicyResponse.java
index 6a2bfbe..89920c1 100644
--- a/api/src/org/apache/cloudstack/api/response/AutoScalePolicyResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/AutoScalePolicyResponse.java
@@ -26,7 +26,7 @@ import com.cloud.network.as.AutoScalePolicy;
 import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
-@EntityReference(value=AutoScalePolicy.class)
+@EntityReference(value = AutoScalePolicy.class)
 public class AutoScalePolicyResponse extends BaseResponse implements ControlledEntityResponse {
 
     @SerializedName(ApiConstants.ID)
@@ -49,22 +49,26 @@ public class AutoScalePolicyResponse extends BaseResponse implements ControlledE
     @Param(description = "the list of IDs of the conditions that are being evaluated on every interval")
     private List<ConditionResponse> conditions;
 
-    @SerializedName(ApiConstants.ACCOUNT) @Param(description="the account owning the autoscale policy")
+    @SerializedName(ApiConstants.ACCOUNT)
+    @Param(description = "the account owning the autoscale policy")
     private String accountName;
 
-    @SerializedName(ApiConstants.PROJECT_ID) @Param(description="the project id autoscale policy")
+    @SerializedName(ApiConstants.PROJECT_ID)
+    @Param(description = "the project id autoscale policy")
     private String projectId;
 
-    @SerializedName(ApiConstants.PROJECT) @Param(description="the project name of the autoscale policy")
+    @SerializedName(ApiConstants.PROJECT)
+    @Param(description = "the project name of the autoscale policy")
     private String projectName;
 
-    @SerializedName(ApiConstants.DOMAIN_ID) @Param(description="the domain ID of the autoscale policy")
+    @SerializedName(ApiConstants.DOMAIN_ID)
+    @Param(description = "the domain ID of the autoscale policy")
     private String domainId;
 
-    @SerializedName(ApiConstants.DOMAIN) @Param(description="the domain name of the autoscale policy")
+    @SerializedName(ApiConstants.DOMAIN)
+    @Param(description = "the domain name of the autoscale policy")
     private String domainName;
 
-
     @Override
     public String getObjectId() {
         return this.id;
@@ -95,8 +99,6 @@ public class AutoScalePolicyResponse extends BaseResponse implements ControlledE
         this.accountName = accountName;
     }
 
-
-
     @Override
     public void setDomainId(String domainId) {
         this.domainId = domainId;

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/AutoScaleVmGroupResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/AutoScaleVmGroupResponse.java b/api/src/org/apache/cloudstack/api/response/AutoScaleVmGroupResponse.java
index 98fdcad..4f4df48 100644
--- a/api/src/org/apache/cloudstack/api/response/AutoScaleVmGroupResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/AutoScaleVmGroupResponse.java
@@ -26,7 +26,7 @@ import com.cloud.network.as.AutoScaleVmGroup;
 import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
-@EntityReference(value=AutoScaleVmGroup.class)
+@EntityReference(value = AutoScaleVmGroup.class)
 public class AutoScaleVmGroupResponse extends BaseResponse implements ControlledEntityResponse {
 
     @SerializedName(ApiConstants.ID)
@@ -65,32 +65,35 @@ public class AutoScaleVmGroupResponse extends BaseResponse implements Controlled
     @Param(description = "list of scaledown autoscale policies")
     private List<AutoScalePolicyResponse> scaleDownPolicies;
 
-    @SerializedName(ApiConstants.ACCOUNT) @Param(description="the account owning the instance group")
+    @SerializedName(ApiConstants.ACCOUNT)
+    @Param(description = "the account owning the instance group")
     private String accountName;
 
-    @SerializedName(ApiConstants.PROJECT_ID) @Param(description="the project id vm profile")
+    @SerializedName(ApiConstants.PROJECT_ID)
+    @Param(description = "the project id vm profile")
     private String projectId;
 
-    @SerializedName(ApiConstants.PROJECT) @Param(description="the project name of the vm profile")
+    @SerializedName(ApiConstants.PROJECT)
+    @Param(description = "the project name of the vm profile")
     private String projectName;
 
-    @SerializedName(ApiConstants.DOMAIN_ID) @Param(description="the domain ID of the vm profile")
+    @SerializedName(ApiConstants.DOMAIN_ID)
+    @Param(description = "the domain ID of the vm profile")
     private String domainId;
 
-    @SerializedName(ApiConstants.DOMAIN) @Param(description="the domain name of the vm profile")
+    @SerializedName(ApiConstants.DOMAIN)
+    @Param(description = "the domain name of the vm profile")
     private String domainName;
 
     public AutoScaleVmGroupResponse() {
 
     }
 
-
     @Override
     public String getObjectId() {
         return this.id;
     }
 
-
     public void setId(String id) {
         this.id = id;
     }
@@ -132,7 +135,6 @@ public class AutoScaleVmGroupResponse extends BaseResponse implements Controlled
         this.accountName = accountName;
     }
 
-
     @Override
     public void setDomainId(String domainId) {
         this.domainId = domainId;

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/AutoScaleVmProfileResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/AutoScaleVmProfileResponse.java b/api/src/org/apache/cloudstack/api/response/AutoScaleVmProfileResponse.java
index 4c97adf..9d84d93 100644
--- a/api/src/org/apache/cloudstack/api/response/AutoScaleVmProfileResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/AutoScaleVmProfileResponse.java
@@ -31,7 +31,7 @@ import com.cloud.serializer.Param;
 import com.cloud.utils.Pair;
 import com.google.gson.annotations.SerializedName;
 
-@EntityReference(value=AutoScaleVmProfile.class)
+@EntityReference(value = AutoScaleVmProfile.class)
 public class AutoScaleVmProfileResponse extends BaseResponse implements ControlledEntityResponse {
 
     @SerializedName(ApiConstants.ID)
@@ -62,14 +62,18 @@ public class AutoScaleVmProfileResponse extends BaseResponse implements Controll
 
     /* Parameters related to a running virtual machine - monitoring aspects */
     @SerializedName(ApiConstants.COUNTERPARAM_LIST)
-    @Parameter(name = ApiConstants.COUNTERPARAM_LIST, type = CommandType.MAP, description = "counterparam list. Example: counterparam[0].name=snmpcommunity&counterparam[0].value=public&counterparam[1].name=snmpport&counterparam[1].value=161")
+    @Parameter(name = ApiConstants.COUNTERPARAM_LIST,
+               type = CommandType.MAP,
+               description = "counterparam list. Example: counterparam[0].name=snmpcommunity&counterparam[0].value=public&counterparam[1].name=snmpport&counterparam[1].value=161")
     private Map<String, String> counterParams;
 
     @SerializedName(ApiConstants.AUTOSCALE_USER_ID)
     @Param(description = "the ID of the user used to launch and destroy the VMs")
     private String autoscaleUserId;
 
-    @Parameter(name = ApiConstants.CS_URL, type = CommandType.STRING, description = "the API URL including port of the CloudStack Management Server example: http://server.cloud.com:8080/client/api?")
+    @Parameter(name = ApiConstants.CS_URL,
+               type = CommandType.STRING,
+               description = "the API URL including port of the CloudStack Management Server example: http://server.cloud.com:8080/client/api?")
     private String csUrl;
 
     @SerializedName(ApiConstants.ACCOUNT)
@@ -96,13 +100,11 @@ public class AutoScaleVmProfileResponse extends BaseResponse implements Controll
 
     }
 
-
     @Override
     public String getObjectId() {
         return this.id;
     }
 
-
     public void setId(String id) {
         this.id = id;
     }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/CapabilitiesResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/CapabilitiesResponse.java b/api/src/org/apache/cloudstack/api/response/CapabilitiesResponse.java
index 2189ae0..17dcdd8 100644
--- a/api/src/org/apache/cloudstack/api/response/CapabilitiesResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/CapabilitiesResponse.java
@@ -25,38 +25,46 @@ import com.cloud.serializer.Param;
 
 @SuppressWarnings("unused")
 public class CapabilitiesResponse extends BaseResponse {
-    @SerializedName("securitygroupsenabled") @Param(description="true if security groups support is enabled, false otherwise")
+    @SerializedName("securitygroupsenabled")
+    @Param(description = "true if security groups support is enabled, false otherwise")
     private boolean securityGroupsEnabled;
 
-    @SerializedName("cloudstackversion") @Param(description="version of the cloud stack")
+    @SerializedName("cloudstackversion")
+    @Param(description = "version of the cloud stack")
     private String cloudStackVersion;
 
-    @SerializedName("userpublictemplateenabled") @Param(description="true if user and domain admins can set templates to be shared, false otherwise")
+    @SerializedName("userpublictemplateenabled")
+    @Param(description = "true if user and domain admins can set templates to be shared, false otherwise")
     private boolean userPublicTemplateEnabled;
 
-    @SerializedName("supportELB") @Param(description="true if region supports elastic load balancer on basic zones")
+    @SerializedName("supportELB")
+    @Param(description = "true if region supports elastic load balancer on basic zones")
     private String supportELB;
 
-    @SerializedName(ApiConstants.PROJECT_INVITE_REQUIRED) @Param(description="If invitation confirmation is required when add account to project")
+    @SerializedName(ApiConstants.PROJECT_INVITE_REQUIRED)
+    @Param(description = "If invitation confirmation is required when add account to project")
     private Boolean projectInviteRequired;
 
-    @SerializedName(ApiConstants.ALLOW_USER_CREATE_PROJECTS) @Param(description="true if regular user is allowed to create projects")
+    @SerializedName(ApiConstants.ALLOW_USER_CREATE_PROJECTS)
+    @Param(description = "true if regular user is allowed to create projects")
     private Boolean allowUsersCreateProjects;
 
-    @SerializedName(ApiConstants.CUSTOM_DISK_OFF_MAX_SIZE) @Param(description="maximum size that can be specified when " +
-            "create disk from disk offering with custom size")
+    @SerializedName(ApiConstants.CUSTOM_DISK_OFF_MAX_SIZE)
+    @Param(description = "maximum size that can be specified when " + "create disk from disk offering with custom size")
     private Long diskOffMaxSize;
 
-    @SerializedName("regionsecondaryenabled") @Param(description = "true if region wide secondary is enabled, false otherwise")
+    @SerializedName("regionsecondaryenabled")
+    @Param(description = "true if region wide secondary is enabled, false otherwise")
     private boolean regionSecondaryEnabled;
 
-    @SerializedName("apilimitinterval") @Param(description="time interval (in seconds) to reset api count")
+    @SerializedName("apilimitinterval")
+    @Param(description = "time interval (in seconds) to reset api count")
     private Integer apiLimitInterval;
 
-    @SerializedName("apilimitmax") @Param(description="Max allowed number of api requests within the specified interval")
+    @SerializedName("apilimitmax")
+    @Param(description = "Max allowed number of api requests within the specified interval")
     private Integer apiLimitMax;
 
-
     public void setSecurityGroupsEnabled(boolean securityGroupsEnabled) {
         this.securityGroupsEnabled = securityGroupsEnabled;
     }
@@ -85,7 +93,7 @@ public class CapabilitiesResponse extends BaseResponse {
         this.diskOffMaxSize = diskOffMaxSize;
     }
 
-    public void setRegionSecondaryEnabled(boolean regionSecondaryEnabled){
+    public void setRegionSecondaryEnabled(boolean regionSecondaryEnabled) {
         this.regionSecondaryEnabled = regionSecondaryEnabled;
     }
 
@@ -97,5 +105,4 @@ public class CapabilitiesResponse extends BaseResponse {
         this.apiLimitMax = apiLimitMax;
     }
 
-
 }

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/CapabilityResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/CapabilityResponse.java b/api/src/org/apache/cloudstack/api/response/CapabilityResponse.java
index e960c2d..c707482 100644
--- a/api/src/org/apache/cloudstack/api/response/CapabilityResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/CapabilityResponse.java
@@ -24,13 +24,16 @@ import com.google.gson.annotations.SerializedName;
 
 public class CapabilityResponse extends BaseResponse {
 
-    @SerializedName(ApiConstants.NAME) @Param(description="the capability name")
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "the capability name")
     private String name;
 
-    @SerializedName(ApiConstants.VALUE) @Param(description="the capability value")
+    @SerializedName(ApiConstants.VALUE)
+    @Param(description = "the capability value")
     private String value;
 
-    @SerializedName(ApiConstants.CAN_CHOOSE_SERVICE_CAPABILITY) @Param(description="can this service capability value can be choosable while creatine network offerings")
+    @SerializedName(ApiConstants.CAN_CHOOSE_SERVICE_CAPABILITY)
+    @Param(description = "can this service capability value can be choosable while creatine network offerings")
     private boolean canChoose;
 
     public String getName() {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/CapacityResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/CapacityResponse.java b/api/src/org/apache/cloudstack/api/response/CapacityResponse.java
index c1ef62c..6562652 100644
--- a/api/src/org/apache/cloudstack/api/response/CapacityResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/CapacityResponse.java
@@ -23,34 +23,44 @@ import com.cloud.serializer.Param;
 import com.google.gson.annotations.SerializedName;
 
 public class CapacityResponse extends BaseResponse {
-    @SerializedName(ApiConstants.TYPE) @Param(description="the capacity type")
+    @SerializedName(ApiConstants.TYPE)
+    @Param(description = "the capacity type")
     private Short capacityType;
 
-    @SerializedName(ApiConstants.ZONE_ID) @Param(description="the Zone ID")
+    @SerializedName(ApiConstants.ZONE_ID)
+    @Param(description = "the Zone ID")
     private String zoneId;
 
-    @SerializedName(ApiConstants.ZONE_NAME) @Param(description="the Zone name")
+    @SerializedName(ApiConstants.ZONE_NAME)
+    @Param(description = "the Zone name")
     private String zoneName;
 
-    @SerializedName(ApiConstants.POD_ID) @Param(description="the Pod ID")
+    @SerializedName(ApiConstants.POD_ID)
+    @Param(description = "the Pod ID")
     private String podId;
 
-    @SerializedName("podname") @Param(description="the Pod name")
+    @SerializedName("podname")
+    @Param(description = "the Pod name")
     private String podName;
 
-    @SerializedName(ApiConstants.CLUSTER_ID) @Param(description="the Cluster ID")
+    @SerializedName(ApiConstants.CLUSTER_ID)
+    @Param(description = "the Cluster ID")
     private String clusterId;
 
-    @SerializedName("clustername") @Param(description="the Cluster name")
+    @SerializedName("clustername")
+    @Param(description = "the Cluster name")
     private String clusterName;
 
-    @SerializedName("capacityused") @Param(description="the capacity currently in use")
+    @SerializedName("capacityused")
+    @Param(description = "the capacity currently in use")
     private Long capacityUsed;
 
-    @SerializedName("capacitytotal") @Param(description="the total capacity available")
+    @SerializedName("capacitytotal")
+    @Param(description = "the total capacity available")
     private Long capacityTotal;
 
-    @SerializedName("percentused") @Param(description="the percentage of capacity currently in use")
+    @SerializedName("percentused")
+    @Param(description = "the percentage of capacity currently in use")
     private String percentUsed;
 
     public Short getCapacityType() {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/CloudIdentifierResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/CloudIdentifierResponse.java b/api/src/org/apache/cloudstack/api/response/CloudIdentifierResponse.java
index 5e74486..2847753 100644
--- a/api/src/org/apache/cloudstack/api/response/CloudIdentifierResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/CloudIdentifierResponse.java
@@ -24,13 +24,16 @@ import com.google.gson.annotations.SerializedName;
 
 public class CloudIdentifierResponse extends BaseResponse {
 
-    @SerializedName(ApiConstants.USER_ID) @Param(description="the user ID for the cloud identifier")
+    @SerializedName(ApiConstants.USER_ID)
+    @Param(description = "the user ID for the cloud identifier")
     private String userId;
 
-    @SerializedName("cloudidentifier") @Param(description="the cloud identifier")
+    @SerializedName("cloudidentifier")
+    @Param(description = "the cloud identifier")
     private String cloudIdentifier;
 
-    @SerializedName("signature") @Param(description="the signed response for the cloud identifier")
+    @SerializedName("signature")
+    @Param(description = "the signed response for the cloud identifier")
     private String signature;
 
     public String getUserId() {

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8d627446/api/src/org/apache/cloudstack/api/response/ClusterResponse.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/response/ClusterResponse.java b/api/src/org/apache/cloudstack/api/response/ClusterResponse.java
index 68aa892..d147b6b 100644
--- a/api/src/org/apache/cloudstack/api/response/ClusterResponse.java
+++ b/api/src/org/apache/cloudstack/api/response/ClusterResponse.java
@@ -28,43 +28,56 @@ import java.util.List;
 
 @EntityReference(value = Cluster.class)
 public class ClusterResponse extends BaseResponse {
-    @SerializedName(ApiConstants.ID) @Param(description="the cluster ID")
+    @SerializedName(ApiConstants.ID)
+    @Param(description = "the cluster ID")
     private String id;
 
-    @SerializedName(ApiConstants.NAME) @Param(description="the cluster name")
+    @SerializedName(ApiConstants.NAME)
+    @Param(description = "the cluster name")
     private String name;
 
-    @SerializedName(ApiConstants.POD_ID) @Param(description="the Pod ID of the cluster")
+    @SerializedName(ApiConstants.POD_ID)
+    @Param(description = "the Pod ID of the cluster")
     private String podId;
 
-    @SerializedName("podname") @Param(description="the Pod name of the cluster")
+    @SerializedName("podname")
+    @Param(description = "the Pod name of the cluster")
     private String podName;
 
-    @SerializedName(ApiConstants.ZONE_ID) @Param(description="the Zone ID of the cluster")
+    @SerializedName(ApiConstants.ZONE_ID)
+    @Param(description = "the Zone ID of the cluster")
     private String zoneId;
 
-    @SerializedName(ApiConstants.ZONE_NAME) @Param(description="the Zone name of the cluster")
+    @SerializedName(ApiConstants.ZONE_NAME)
+    @Param(description = "the Zone name of the cluster")
     private String zoneName;
 
-    @SerializedName("hypervisortype") @Param(description="the hypervisor type of the cluster")
+    @SerializedName("hypervisortype")
+    @Param(description = "the hypervisor type of the cluster")
     private String hypervisorType;
 
-    @SerializedName("clustertype") @Param(description="the type of the cluster")
+    @SerializedName("clustertype")
+    @Param(description = "the type of the cluster")
     private String clusterType;
 
-    @SerializedName("allocationstate") @Param(description="the allocation state of the cluster")
+    @SerializedName("allocationstate")
+    @Param(description = "the allocation state of the cluster")
     private String allocationState;
 
-    @SerializedName("managedstate") @Param(description="whether this cluster is managed by cloudstack")
+    @SerializedName("managedstate")
+    @Param(description = "whether this cluster is managed by cloudstack")
     private String managedState;
 
-    @SerializedName("capacity")  @Param(description="the capacity of the Cluster", responseObject = CapacityResponse.class)
+    @SerializedName("capacity")
+    @Param(description = "the capacity of the Cluster", responseObject = CapacityResponse.class)
     private List<CapacityResponse> capacitites;
 
-    @SerializedName("cpuovercommitratio") @Param(description = "The cpu overcommit ratio of the cluster")
+    @SerializedName("cpuovercommitratio")
+    @Param(description = "The cpu overcommit ratio of the cluster")
     private String cpuovercommitratio;
 
-    @SerializedName("memoryovercommitratio") @Param (description = "The memory overcommit ratio of the cluster")
+    @SerializedName("memoryovercommitratio")
+    @Param(description = "The memory overcommit ratio of the cluster")
     private String memoryovercommitratio;
 
     public String getId() {
@@ -155,19 +168,19 @@ public class ClusterResponse extends BaseResponse {
         this.capacitites = arrayList;
     }
 
-    public void setCpuOvercommitRatio(String cpuovercommitratio){
-        this.cpuovercommitratio= cpuovercommitratio;
+    public void setCpuOvercommitRatio(String cpuovercommitratio) {
+        this.cpuovercommitratio = cpuovercommitratio;
     }
 
-    public String getCpuOvercommitRatio(){
+    public String getCpuOvercommitRatio() {
         return cpuovercommitratio;
     }
 
-    public void setMemoryOvercommitRatio(String memoryovercommitratio){
-        this.memoryovercommitratio= memoryovercommitratio;
+    public void setMemoryOvercommitRatio(String memoryovercommitratio) {
+        this.memoryovercommitratio = memoryovercommitratio;
     }
 
-    public String getMemoryOvercommitRatio(){
+    public String getMemoryOvercommitRatio() {
         return memoryovercommitratio;
     }
 }