Michael Kublin has posted comments on this change.
Change subject: core: compensate on wrong object lead to NPE
......................................................................
Patch Set 7: I would prefer that you didn't submit this
(1 inline comment)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmHandler.java
Line 219: * @param vm
Line 220: * The VM to unlock.
Line 221: * @param compensationContext
Line 222: * Used to save the old VM status, for compensation
purposes.
Line 223: */
Remove these method, no need to fix a method that should not be used at all
Line 224: public static void unlockVm(final VM vm, final
CompensationContext compensationContext) {
Line 225: TransactionSupport.executeInNewTransaction(new
TransactionMethod<Void>() {
Line 226:
Line 227: @Override
--
To view, visit http://gerrit.ovirt.org/9074
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e10cbec65d0d9c8e66794a9fecf2e59facfdb45
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Aravot <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Liron Aravot <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Sharad Mishra <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches