Arik Hadas has posted comments on this change. Change subject: webadmin: Added bond name validation ......................................................................
Patch Set 1: I would prefer that you didn't submit this (1 inline comment) .................................................... File frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/validation/BondNameValidation.java Line 13: } Line 14: Line 15: @Override Line 16: public ValidationResult Validate(Object bond) { Line 17: return super.Validate(((Bond) bond).getName()); that's unsafe casting, please add "instanceof" check before Line 18: } Line 19: -- To view, visit http://gerrit.ovirt.org/12532 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I8f5ea2b582f3117817ef72f7d3350977a124681f Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Lior Vernia <lver...@redhat.com> Gerrit-Reviewer: Alona Kaplan <alkap...@redhat.com> Gerrit-Reviewer: Arik Hadas <aha...@redhat.com> Gerrit-Reviewer: Lior Vernia <lver...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches