Martin Betak has posted comments on this change.

Change subject: webadmin: change import template model hierarchy
......................................................................


Patch Set 4:

(2 comments)

https://gerrit.ovirt.org/#/c/40447/4/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/ManageBackupModel.java
File 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/ManageBackupModel.java:

Line 55:     protected abstract void remove();
Line 56: 
Line 57:     protected abstract void restore();
Line 58: 
Line 59:     protected abstract ArchitectureType getArchitectureFromItem(Object 
item);
Please make this generic 'T item' in your follow-up generic patch.
Line 60: 
Line 61:     protected void cancel() {
Line 62:         cancelConfirm();
Line 63:         setWindow(null);


Line 153:      // Checks if there are selected VMs of multiple architectures
Line 154:         ArchitectureType firstArch = null;
Line 155:         boolean multipleArchs = false;
Line 156: 
Line 157:         for (Object item : getSelectedItems()) {
same here, 'T item'
Line 158:             ArchitectureType arch = getArchitectureFromItem(item);
Line 159: 
Line 160:             if (firstArch == null) {
Line 161:                 firstArch = arch;


-- 
To view, visit https://gerrit.ovirt.org/40447
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I693f8abbf71d333d90a6dcd37feb4afeecb3f56b
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <aha...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Betak <mbe...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to