From 726eccc6a7a5ee31e3183574c0e412a218faec55 Mon Sep 17 00:00:00 2001 From: Jasper de Vries Date: Sun, 10 Dec 2023 14:30:48 +0100 Subject: [PATCH] Remove final. --- .../primefaces/component/staticmessage/StaticMessage.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/primefaces/src/main/java/org/primefaces/component/staticmessage/StaticMessage.java b/primefaces/src/main/java/org/primefaces/component/staticmessage/StaticMessage.java index ac9dd05a50..6f4dec7c99 100644 --- a/primefaces/src/main/java/org/primefaces/component/staticmessage/StaticMessage.java +++ b/primefaces/src/main/java/org/primefaces/component/staticmessage/StaticMessage.java @@ -56,9 +56,9 @@ public Collection getUnobstrusiveEventNames() { @Override public void queueEvent(final FacesEvent event) { - final FacesContext context = getFacesContext(); - final Map params = context.getExternalContext().getRequestParameterMap(); - final String eventName = params.get(Constants.RequestParams.PARTIAL_BEHAVIOR_EVENT_PARAM); + FacesContext context = getFacesContext(); + Map params = context.getExternalContext().getRequestParameterMap(); + String eventName = params.get(Constants.RequestParams.PARTIAL_BEHAVIOR_EVENT_PARAM); if (eventName != null && event instanceof AjaxBehaviorEvent) { final AjaxBehaviorEvent ajaxBehaviorEvent = (AjaxBehaviorEvent) event;