Arik Hadas has posted comments on this change.

Change subject: core: RunVmCommand.canDoAction cleanup (1)
......................................................................


Patch Set 3: (1 inline comment)

....................................................
File 
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/vmproperties/VmPropertiesUtils.java
Line 28: public class VmPropertiesUtils {
Line 29: 
Line 30:     private static VmPropertiesUtils vmPropertiesUtils = null;
Line 31: 
Line 32:     public static VmPropertiesUtils getInstance() {
I think that it's not a problem - the data is being initialized from single 
thread that call the init method, then the rest of the threads just query the 
data
Line 33:         if (vmPropertiesUtils == null) {
Line 34:             vmPropertiesUtils = new VmPropertiesUtils();
Line 35:         }
Line 36:         return vmPropertiesUtils;


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I60bbdb54d150878123968893c23169de253e1ba2
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Doron Fediuck <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Laszlo Hornyak <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Roy Golan <[email protected]>
Gerrit-Reviewer: ofri masad <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to