Yevgeny Zaspitsky has posted comments on this change.

Change subject: core: Enable running canDoAction in the same trx with execute
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.ovirt.org/#/c/37227/1/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java:

Line 741:     }
Line 742: 
Line 743:     private boolean isCanDoActionSupportsTransaction() {
Line 744:         CanDoActionSupportsTransaction annotation = 
getClass().getAnnotation(CanDoActionSupportsTransaction.class);
Line 745:         return annotation != null;
> can be replaced with a call to Class#isAnnotationPresent
Done
Line 746:     }
Line 747: 
Line 748:     private boolean internalCanDoAction() {
Line 749:         boolean returnValue = false;


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I41034c27b993ee0cc179f500ed8cf32552f23c81
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yevgeny Zaspitsky <[email protected]>
Gerrit-Reviewer: Alona Kaplan <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Ravi Nori <[email protected]>
Gerrit-Reviewer: Roy Golan <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: Yevgeny Zaspitsky <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to