You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2023/08/28 04:02:26 UTC

[ws-wss4j] branch master updated: Some fixes for checkstyle bump (#192)

This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ws-wss4j.git


The following commit(s) were added to refs/heads/master by this push:
     new 0be30ba3e Some fixes for checkstyle bump (#192)
0be30ba3e is described below

commit 0be30ba3ea4d88fc6fb5bce0aa45f57645ce229d
Author: Colm O hEigeartaigh <co...@users.noreply.github.com>
AuthorDate: Mon Aug 28 05:02:20 2023 +0100

    Some fixes for checkstyle bump (#192)
---
 .../java/org/apache/wss4j/stax/impl/InboundWSSecurityContextImpl.java   | 2 +-
 .../src/main/java/org/apache/wss4j/stax/setup/OutboundWSSec.java        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ws-security-stax/src/main/java/org/apache/wss4j/stax/impl/InboundWSSecurityContextImpl.java b/ws-security-stax/src/main/java/org/apache/wss4j/stax/impl/InboundWSSecurityContextImpl.java
index 8f878cfbf..a5d904baf 100644
--- a/ws-security-stax/src/main/java/org/apache/wss4j/stax/impl/InboundWSSecurityContextImpl.java
+++ b/ws-security-stax/src/main/java/org/apache/wss4j/stax/impl/InboundWSSecurityContextImpl.java
@@ -646,7 +646,7 @@ public class InboundWSSecurityContextImpl extends InboundSecurityContextImpl imp
         this.soap12 = soap12;
     }
 
-    private static class MessageTokens {
+    private static final class MessageTokens {
         List<TokenSecurityEvent<? extends InboundSecurityToken>> messageSignatureTokens = Collections.emptyList();
         List<TokenSecurityEvent<? extends InboundSecurityToken>> messageEncryptionTokens = Collections.emptyList();
         List<TokenSecurityEvent<? extends InboundSecurityToken>> supportingTokens = Collections.emptyList();
diff --git a/ws-security-stax/src/main/java/org/apache/wss4j/stax/setup/OutboundWSSec.java b/ws-security-stax/src/main/java/org/apache/wss4j/stax/setup/OutboundWSSec.java
index 0efef7349..6e3dc41fc 100644
--- a/ws-security-stax/src/main/java/org/apache/wss4j/stax/setup/OutboundWSSec.java
+++ b/ws-security-stax/src/main/java/org/apache/wss4j/stax/setup/OutboundWSSec.java
@@ -766,7 +766,7 @@ public class OutboundWSSec {
         return configuredAction;
     }
 
-    private static class ConfiguredAction {
+    private static final class ConfiguredAction {
         boolean signatureAction = false;
         boolean encryptionAction = false;
         boolean signedSAML = false;