Martin Peřina has uploaded a new change for review. Change subject: core: Fix FindBugs issue in EventNotificationMethod ......................................................................
core: Fix FindBugs issue in EventNotificationMethod Fixes FindBugs issue in EventNotificationMethod introduced in commit 53074bc0614da9d4ef18b83bd8ba12e463c3ec09 Change-Id: I3dafb358db93280d58e40ca1056230ae1dba1767 Signed-off-by: Martin Perina <mper...@redhat.com> --- M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/EventNotificationMethod.java 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/09/25309/1 diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/EventNotificationMethod.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/EventNotificationMethod.java index 9e6b170..5dc1dff 100644 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/EventNotificationMethod.java +++ b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/EventNotificationMethod.java @@ -27,6 +27,6 @@ * Returns enum value based on external string representation */ public static EventNotificationMethod valueOfString(String value) { - return valueOf(value != null ? value.toUpperCase() : value); + return valueOf(value != null ? value.toUpperCase() : null); } } -- To view, visit http://gerrit.ovirt.org/25309 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3dafb358db93280d58e40ca1056230ae1dba1767 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Martin Peřina <mper...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches