Frank Kobzik has uploaded a new change for review. Change subject: frontend: Console PriorityComparator should be serializable ......................................................................
frontend: Console PriorityComparator should be serializable Change-Id: If1ca0640414981a01e30d2b2d44fd903c309928a Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1086244 Signed-off-by: Frantisek Kobzik <[email protected]> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/ConsoleProtocol.java 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/79/27579/1 diff --git a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/ConsoleProtocol.java b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/ConsoleProtocol.java index eeae082..e4e3dd6 100644 --- a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/ConsoleProtocol.java +++ b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/ConsoleProtocol.java @@ -1,5 +1,6 @@ package org.ovirt.engine.ui.uicommonweb.models; +import java.io.Serializable; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; @@ -43,7 +44,7 @@ return null; } - static class PriorityComparator implements Comparator<ConsoleProtocol> { + static class PriorityComparator implements Comparator<ConsoleProtocol>, Serializable { @Override public int compare(ConsoleProtocol fst, ConsoleProtocol snd) { if (fst == null && snd == null) { -- To view, visit http://gerrit.ovirt.org/27579 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If1ca0640414981a01e30d2b2d44fd903c309928a Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Frank Kobzik <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
