Hello Allon Mureinik,

I'd like you to do a code review.  Please visit

    http://gerrit.ovirt.org/36008

to review the following change.

Change subject: webadmin: ImportVmFromExportDomainModel#doInit DLS
......................................................................

webadmin: ImportVmFromExportDomainModel#doInit DLS

Removed the unused local variable cluster which was causing a FindBugs
warning.

Change-Id: Iaf9dc95b3099c202cebdf955db6706990f4cf0bf
Bug-Url: https://bugzilla.redhat.com/1168532
Signed-off-by: Allon Mureinik <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ImportVmModel.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/08/36008/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ImportVmModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ImportVmModel.java
index b8a3563..4cce65f 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ImportVmModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/ImportVmModel.java
@@ -228,7 +228,7 @@
                                getCluster().setItems(clusters);
                                
getCluster().setSelectedItem(Linq.firstOrDefault(clusters));
                            }
-                           VDSGroup cluster = (VDSGroup) 
getCluster().getSelectedItem();
+
                            // get storage domains
                            AsyncDataProvider.getStorageDomainList(new 
AsyncQuery(ImportVmModel.this,
                                    new INewAsyncCallback() {


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaf9dc95b3099c202cebdf955db6706990f4cf0bf
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to