From fe21b4ddb6dcb1d6aa10a8b546803fa2407e5d41 Mon Sep 17 00:00:00 2001 From: Abhinandan Prateek Date: Thu, 29 Oct 2015 11:58:53 +0530 Subject: [PATCH] CLOUDSTACK-8592:removing test code --- .../apache/cloudstack/api/command/QuotaTariffListCmd.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/database/quota/src/org/apache/cloudstack/api/command/QuotaTariffListCmd.java b/plugins/database/quota/src/org/apache/cloudstack/api/command/QuotaTariffListCmd.java index cda9ff20b18..33015d2349e 100644 --- a/plugins/database/quota/src/org/apache/cloudstack/api/command/QuotaTariffListCmd.java +++ b/plugins/database/quota/src/org/apache/cloudstack/api/command/QuotaTariffListCmd.java @@ -25,7 +25,6 @@ import org.apache.cloudstack.api.Parameter; import org.apache.cloudstack.api.response.ListResponse; import org.apache.cloudstack.api.response.QuotaResponseBuilder; import org.apache.cloudstack.api.response.QuotaTariffResponse; -import org.apache.cloudstack.quota.QuotaManager; import org.apache.cloudstack.quota.vo.QuotaTariffVO; import org.apache.log4j.Logger; @@ -43,9 +42,6 @@ public class QuotaTariffListCmd extends BaseListCmd { @Inject QuotaResponseBuilder _responseBuilder; - @Inject - QuotaManager _quotaManager; - @Parameter(name = ApiConstants.USAGE_TYPE, type = CommandType.INTEGER, required = false, description = "Usage type of the resource") private Integer usageType; @@ -58,7 +54,6 @@ public class QuotaTariffListCmd extends BaseListCmd { @Override public void execute() { - _quotaManager.calculateQuotaUsage(); final List result = _responseBuilder.listQuotaTariffPlans(this);