Ori Liel has posted comments on this change.

Change subject: Engine: Add unit-tests for fence execution
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.ovirt.org/#/c/36494/2/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/FenceExecutor.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/FenceExecutor.java:

Line 30:     private FencingPolicy fencingPolicy;
Line 31:     private FenceProxyLocator proxyLocator;
Line 32:     private VdsArchitectureHelper architectureHelper;
Line 33: 
Line 34:     public FenceExecutor(VDS vds) {
> Please add here
Findbugs says: 

" This constructor reads a field which has not yet been assigned a value.  "

but I don't see such a thing in the constructor. 

Can you explain to me what is going on here?
Line 35:         // TODO remove if block after UI patch that should set also 
cluster & proxy preferences in GetNewVdsFenceStatusParameters
Line 36:         if (! vds.getId().equals(Guid.Empty)) {
Line 37:             VDS dbVds =  
DbFacade.getInstance().getVdsDao().get(vds.getId());
Line 38:             if (vds.getVdsGroupId() == null) {


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I311933f0e3d23489c44faa6dced4373f7254b56e
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ori Liel <ol...@redhat.com>
Gerrit-Reviewer: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Martin Peřina <mper...@redhat.com>
Gerrit-Reviewer: Ori Liel <ol...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to