CLOUDSTACK-225: Fix redundant field values in class and apidocs Signed-off-by: Rohit Yadav <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/9014a3f9 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/9014a3f9 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/9014a3f9 Branch: refs/heads/marvin-refactor Commit: 9014a3f9174fd91aceb1730a4116e90aa1a37d0a Parents: eeacf5d Author: Rohit Yadav <[email protected]> Authored: Wed Jan 23 15:50:56 2013 -0800 Committer: Prasanna Santhanam <[email protected]> Committed: Thu Jan 24 17:48:36 2013 +0530 ---------------------------------------------------------------------- .../api/BaseListAccountResourcesCmd.java | 2 +- .../api/command/user/vpc/ListVPCsCmd.java | 17 --------------- 2 files changed, 1 insertions(+), 18 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/9014a3f9/api/src/org/apache/cloudstack/api/BaseListAccountResourcesCmd.java ---------------------------------------------------------------------- diff --git a/api/src/org/apache/cloudstack/api/BaseListAccountResourcesCmd.java b/api/src/org/apache/cloudstack/api/BaseListAccountResourcesCmd.java index 038da63..0586117 100644 --- a/api/src/org/apache/cloudstack/api/BaseListAccountResourcesCmd.java +++ b/api/src/org/apache/cloudstack/api/BaseListAccountResourcesCmd.java @@ -18,7 +18,7 @@ package org.apache.cloudstack.api; public abstract class BaseListAccountResourcesCmd extends BaseListDomainResourcesCmd { - @Parameter(name = ApiConstants.ACCOUNT, type = CommandType.STRING, description = "List resources by account. Must be used with the domainId parameter.") + @Parameter(name = ApiConstants.ACCOUNT, type = CommandType.STRING, description = "list resources by account. Must be used with the domainId parameter.") private String accountName; public String getAccountName() { http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/9014a3f9/api/src/org/apache/cloudstack/api/command/user/vpc/ListVPCsCmd.java ---------------------------------------------------------------------- diff --git a/api/src/org/apache/cloudstack/api/command/user/vpc/ListVPCsCmd.java b/api/src/org/apache/cloudstack/api/command/user/vpc/ListVPCsCmd.java index 6d3c8bd..2501574 100644 --- a/api/src/org/apache/cloudstack/api/command/user/vpc/ListVPCsCmd.java +++ b/api/src/org/apache/cloudstack/api/command/user/vpc/ListVPCsCmd.java @@ -64,15 +64,6 @@ public class ListVPCsCmd extends BaseListTaggedResourcesCmd{ , description="list by ID of the VPC offering") private Long VpcOffId; - @Parameter(name=ApiConstants.ACCOUNT, type=CommandType.STRING, description="list by account associated with the VPC. " + - "Must be used with the domainId parameter.") - private String accountName; - - @Parameter(name=ApiConstants.DOMAIN_ID, type=CommandType.UUID, entityType=DomainResponse.class, - description="list by domain ID associated with the VPC. " + - "If used with the account parameter returns the VPC associated with the account for the specified domain.") - private Long domainId; - @Parameter(name=ApiConstants.SUPPORTED_SERVICES, type=CommandType.LIST, collectionType=CommandType.STRING, description="list VPC supporting certain services") private List<String> supportedServices; @@ -87,14 +78,6 @@ public class ListVPCsCmd extends BaseListTaggedResourcesCmd{ /////////////////// Accessors /////////////////////// ///////////////////////////////////////////////////// - public String getAccountName() { - return accountName; - } - - public Long getDomainId() { - return domainId; - } - public Long getZoneId() { return zoneId; }
