Arik Hadas has uploaded a new change for review.

Change subject: core: remove unused methods
......................................................................

core: remove unused methods

Remove unused methods in RunVmCommand

Change-Id: Iabe99ebc6ce6cca069f9333ac3d0b4117f3dfd3b
Signed-off-by: Arik Hadas <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
1 file changed, 0 insertions(+), 10 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/71/22071/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
index 5fa3558..bcdc1e5 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
@@ -25,7 +25,6 @@
 import org.ovirt.engine.core.bll.utils.PermissionSubject;
 import org.ovirt.engine.core.bll.utils.VmDeviceUtils;
 import org.ovirt.engine.core.bll.validator.RunVmValidator;
-import org.ovirt.engine.core.bll.validator.VmValidator;
 import org.ovirt.engine.core.common.AuditLogType;
 import org.ovirt.engine.core.common.FeatureSupported;
 import org.ovirt.engine.core.common.VdcObjectType;
@@ -582,7 +581,6 @@
                     getVmId().toString());
             return false;
         } else {
-            handleMemoryAdjustments();
             VmHandler.updateDisksFromDb(getVm());
             getVm().setKvmEnable(getParameters().getKvmEnable());
             getVm().setRunAndPause(getParameters().getRunAndPause() == null ? 
getVm().isRunAndPause() : getParameters().getRunAndPause());
@@ -622,10 +620,6 @@
                             .getVdsGroupCompatibilityVersion()));
             return true;
         }
-    }
-
-    protected void handleMemoryAdjustments() {
-        // nothing to do in RunVmCommand class
     }
 
     protected boolean getVdsToRunOn() {
@@ -799,10 +793,6 @@
     protected List<Class<?>> getValidationGroups() {
         addValidationGroup(StartEntity.class);
         return super.getValidationGroups();
-    }
-
-    protected VmValidator getVmValidator(VM vm) {
-        return new VmValidator(vm);
     }
 
     protected RunVmValidator getRunVmValidator() {


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iabe99ebc6ce6cca069f9333ac3d0b4117f3dfd3b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to