Nir Soffer has posted comments on this change.
Change subject: webadmin: Display size of ISO and floppy files in human
readable format
......................................................................
Patch Set 6:
(1 comment)
....................................................
File
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/renderer/DiskSizeRenderer.java
Line 31: this.format = format;
Line 32: }
Line 33:
Line 34: protected boolean isUnavailable(T size) {
Line 35: return size == null || size.longValue() == -1;
So maybe define same constant here to make it more clear?
return size == null || size.longvalue() == SIZE_IS_NOT_AVAILABLE;
Line 36: }
Line 37:
Line 38: @Override
Line 39: public String render(T size) {
--
To view, visit http://gerrit.ovirt.org/19550
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I95961fde2256a44b8474d8f41562bc0e33b0ad4a
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Sergey Gotliv <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: Sergey Gotliv <[email protected]>
Gerrit-Reviewer: Tal Nisan <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches