Moti Asayag has posted comments on this change.

Change subject: engine: use vds query instead of search
......................................................................


Patch Set 1: (1 inline comment)

....................................................
File 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmModelBehaviorBase.java
Line 438:      * By default admin query is fired, UserPortal overrides it to 
fire user query
Line 439:      */
Line 440:     private void getHostListByCluster(VDSGroup cluster, AsyncQuery 
query) {
Line 441:         AsyncDataProvider.GetHostListByCluster(query, 
cluster.getId());
Line 442:     }
Not necessary - if the code it repeated, it can be extracted for re-usability, 
especially if decided to change the implementation in the future.

the method name however is incorrect - it is called getXXX while it returns 
nothing, but not part of this patch.
Line 443: 
Line 444:     protected void updateCustomPropertySheet() {
Line 445:         if (getModel().getCluster().getSelectedItem() == null) {
Line 446:             return;


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

Gerrit-MessageType: comment
Gerrit-Change-Id: If6d14448dd546135778b63a96924f8d28d1f13bc
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Alona Kaplan <[email protected]>
Gerrit-Reviewer: Doron Fediuck <[email protected]>
Gerrit-Reviewer: Einav Cohen <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to