incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mlsoren...@apache.org
Subject [34/50] git commit: CLOUDSTACK-225: Fix redundant field values in class and apidocs
Date Sat, 26 Jan 2013 05:25:09 GMT
CLOUDSTACK-225: Fix redundant field values in class and apidocs

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>


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

Branch: refs/heads/add_remove_nics
Commit: 9e91584d07fd9c5e3890805274132bb4ce32809f
Parents: a7fd74f
Author: Rohit Yadav <bhaisaab@apache.org>
Authored: Wed Jan 23 15:50:56 2013 -0800
Committer: Rohit Yadav <bhaisaab@apache.org>
Committed: Wed Jan 23 15:50:56 2013 -0800

----------------------------------------------------------------------
 .../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/9e91584d/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/9e91584d/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;
     }


Mime
View raw message