Sergey Gotliv has posted comments on this change.

Change subject: engine: Populate error message placeholder in 
HotPlugDiskToVmCommand
......................................................................


Patch Set 1:

(1 comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/HotPlugDiskToVmCommand.java
Line 37:     protected void setActionMessageParameters() {
Line 38:         addCanDoActionMessage(VdcBllMessages.VAR__ACTION__HOT_PLUG);
Line 39:         addCanDoActionMessage(VdcBllMessages.VAR__TYPE__VM_DISK);
Line 40: 
Line 41:         if (getDiskAlias() != null) {
I really hate this null check all over the code :-)
Line 42:             addCanDoActionMessage(String.format("$%1$s %2$s", 
"diskAliases", getDiskAlias()));
Line 43:         }
Line 44:     }
Line 45: 


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Iff5224477b8ba547ea7dcde9069ec8874fa8ed24
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Sergey Gotliv <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Sergey Gotliv <[email protected]>
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to