Martin Peřina has uploaded a new change for review.

Change subject: core: Remove unneeded FenceVdsVDSCommandParameters instance 
initialization
......................................................................

core: Remove unneeded FenceVdsVDSCommandParameters instance initialization

Removes unneeded initialization of FenceVdsVDSCommandParameters
instance. This private constructor is not called and exists only due to
checkstyle.

Change-Id: Ia812f5cba873826baea3276e185af385f267cf40
Bug-Url: https://bugzilla.redhat.com/1182510
Signed-off-by: Martin Perina <[email protected]>
---
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/vdscommands/FenceVdsVDSCommandParameters.java
1 file changed, 0 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/37/39837/1

diff --git 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/vdscommands/FenceVdsVDSCommandParameters.java
 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/vdscommands/FenceVdsVDSCommandParameters.java
index 1cd13d6..a14ff1e 100644
--- 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/vdscommands/FenceVdsVDSCommandParameters.java
+++ 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/vdscommands/FenceVdsVDSCommandParameters.java
@@ -13,8 +13,6 @@
     private Map<String, Object> fencingPolicyParams;
 
     private FenceVdsVDSCommandParameters() {
-        action = FenceActionType.RESTART;
-        fenceAgent = new FenceAgent();
     }
 
     public FenceVdsVDSCommandParameters(


-- 
To view, visit https://gerrit.ovirt.org/39837
To unsubscribe, visit https://gerrit.ovirt.org/settings

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

Reply via email to