Martin Betak has uploaded a new change for review.

Change subject: frontend: Fix Coverity Scan defect in UiCommon test
......................................................................

frontend: Fix Coverity Scan defect in UiCommon test

Change-Id: Ie8bf598c928ed5530a050df45727033c6ff6f464
Signed-off-by: Martin Betak <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/test/java/org/ovirt/engine/ui/uicommonweb/models/vms/BaseVmModelBehaviorTest.java
1 file changed, 4 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/35/30835/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/test/java/org/ovirt/engine/ui/uicommonweb/models/vms/BaseVmModelBehaviorTest.java
 
b/frontend/webadmin/modules/uicommonweb/src/test/java/org/ovirt/engine/ui/uicommonweb/models/vms/BaseVmModelBehaviorTest.java
index 0124dd8..cfcb694 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/test/java/org/ovirt/engine/ui/uicommonweb/models/vms/BaseVmModelBehaviorTest.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/test/java/org/ovirt/engine/ui/uicommonweb/models/vms/BaseVmModelBehaviorTest.java
@@ -108,9 +108,10 @@
                 return new EntityModel<Boolean>(true);
             }
 
-            VDSGroup cluster = new VDSGroup() {{
-                setcompatibility_version(new Version(3, 5));
-            }};
+            VDSGroup cluster = new VDSGroup();
+            {
+                cluster.setcompatibility_version(new Version(3, 5));
+            }
 
             @Override
             public VDSGroup getSelectedCluster() {


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

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

Reply via email to