Tal Nisan has uploaded a new change for review.

Change subject: frontend: Remove redundant for loop
......................................................................

frontend: Remove redundant for loop

Change-Id: Ic5f967b18eddb24ae10c3365816b1756f373e3d2
Signed-off-by: Tal Nisan <tni...@redhat.com>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/resources/ResourcesModel.java
1 file changed, 0 insertions(+), 33 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/83/28283/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/resources/ResourcesModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/resources/ResourcesModel.java
index 868c05e..69da48e 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/resources/ResourcesModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/resources/ResourcesModel.java
@@ -225,39 +225,6 @@
                 ResourcesModel resourcesModel = (ResourcesModel) model;
                 final ArrayList<VM> list =
                         (ArrayList<VM>) ((VdcQueryReturnValue) 
ReturnValue).getReturnValue();
-                // TODO: Insert dummy data regarding disks and snapshots.
-                for (VM vm : list)
-                {
-                    // vm.DiskList =
-                    // new[]
-                    // {
-                    // new DiskImage
-                    // {
-                    // internal_drive_mapping = "1",
-                    // SizeInGigabytes = 100,
-                    // ActualSize = 50,
-                    // Snapshots =
-                    // new[]
-                    // {
-                    // new DiskImage(),
-                    // new DiskImage()
-                    // }
-                    // },
-                    // new DiskImage
-                    // {
-                    // internal_drive_mapping = "2",
-                    // SizeInGigabytes = 200,
-                    // ActualSize = 80,
-                    // Snapshots =
-                    // new[]
-                    // {
-                    // new DiskImage(),
-                    // new DiskImage(),
-                    // new DiskImage()
-                    // }
-                    // }
-                    // };
-                }
 
                 // Update calculated properties.
                 int runningVMs = 0;


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic5f967b18eddb24ae10c3365816b1756f373e3d2
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tal Nisan <tni...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to