Allon Mureinik has uploaded a new change for review.

Change subject: core: Removed the unused GetStorageStatisticsQuery
......................................................................

core: Removed the unused GetStorageStatisticsQuery

This patch removes the unused GetStorageStatisticsQuery and its
corresponding constant in VdcQueryType.

Note that the query's code was commented out anyway.

Change-Id: I31475d3394c1446653678e0a5cd4f910d7fccb00
Signed-off-by: Allon Mureinik <amure...@redhat.com>
---
D 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetStorageStatisticsQuery.java
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdcQueryType.java
2 files changed, 0 insertions(+), 15 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/26/13226/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetStorageStatisticsQuery.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetStorageStatisticsQuery.java
deleted file mode 100644
index 35ae078..0000000
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetStorageStatisticsQuery.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package org.ovirt.engine.core.bll;
-
-import org.ovirt.engine.core.common.queries.*;
-
-public class GetStorageStatisticsQuery<P extends VdcQueryParametersBase> 
extends QueriesCommandBase<P> {
-    public GetStorageStatisticsQuery(P parameters) {
-        super(parameters);
-    }
-
-    @Override
-    protected void executeQueryCommand() {
-        // QueryReturnValue.ReturnValue = IrsClusterMonitor.Instance.IrsStatus;
-    }
-}
diff --git 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdcQueryType.java
 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdcQueryType.java
index c02cab7..0c9799b 100644
--- 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdcQueryType.java
+++ 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/VdcQueryType.java
@@ -137,7 +137,6 @@
 
     // System
     GetSystemStatistics,
-    GetStorageStatistics,
 
     // Bookmarks
     GetBookmarkById,


--
To view, visit http://gerrit.ovirt.org/13226
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I31475d3394c1446653678e0a5cd4f910d7fccb00
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amure...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to