diff --git a/native/src/main/java/org/wssec/WsSecurityUtils.java b/native/src/main/java/org/wssec/WsSecurityUtils.java index ac176fd..38c45e4 100644 --- a/native/src/main/java/org/wssec/WsSecurityUtils.java +++ b/native/src/main/java/org/wssec/WsSecurityUtils.java @@ -62,8 +62,7 @@ public class WsSecurityUtils { public static void buildSignature(RequestData reqData, WSSecSignature sign) throws Exception { - List parts; - parts = new ArrayList<>(1); + List parts = new ArrayList<>(1); Document doc = reqData.getSecHeader().getSecurityHeaderElement().getOwnerDocument(); parts.add(WSSecurityUtil.getDefaultEncryptionPart(doc)); List referenceList = sign.addReferencesToSign(parts);