From c026d31c25927beae019d09bf9c9846a59fa912f Mon Sep 17 00:00:00 2001 From: Jim Ma Date: Thu, 24 Oct 2024 12:22:12 +0800 Subject: [PATCH] [JBWS-4430]:Improve the code --- .../wsf/stack/cxf/interceptor/HandlerAuthInterceptor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/HandlerAuthInterceptor.java b/modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/HandlerAuthInterceptor.java index f55baf28a..0ac55f806 100644 --- a/modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/HandlerAuthInterceptor.java +++ b/modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/HandlerAuthInterceptor.java @@ -57,7 +57,7 @@ public class HandlerAuthInterceptor extends AbstractPhaseInterceptor { private static final String KEY = HandlerAuthInterceptor.class.getName() + ".SECURITY_EXCEPTION"; - private boolean skip = false; + private final boolean skip; public HandlerAuthInterceptor() { super(Phase.PRE_PROTOCOL_FRONTEND); @@ -109,7 +109,7 @@ private boolean isOutbound(Message message, Exchange ex) { private static class JBossWSHandlerChainInvoker extends HandlerChainInvoker { - private boolean skip = false; + private final boolean skip; public JBossWSHandlerChainInvoker(@SuppressWarnings("rawtypes") List hc, boolean isOutbound) { super(hc, isOutbound);