Sergey Gotliv 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; I think it makes sense to keep common constants for webadmin and backend. But if we don't have a such class there is no reason to keep local constant. The method name is "isUnavailable()" is speaking for itself. 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 <sgot...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Daniel Erez <de...@redhat.com> Gerrit-Reviewer: Nir Soffer <nsof...@redhat.com> Gerrit-Reviewer: Sergey Gotliv <sgot...@redhat.com> Gerrit-Reviewer: Tal Nisan <tni...@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches