Skip to content

Commit

Permalink
Apply suggestions from the review
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuvindu committed Oct 13, 2023
1 parent 5eed3f5 commit e8e5bc9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions native/src/main/java/org/wssec/WsSecurityUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@
public class WsSecurityUtils {

public static void buildSignature(RequestData reqData, WSSecSignature sign) throws Exception {
List<WSEncryptionPart> parts;
parts = new ArrayList<>(1);
List<WSEncryptionPart> parts = new ArrayList<>(1);
Document doc = reqData.getSecHeader().getSecurityHeaderElement().getOwnerDocument();
parts.add(WSSecurityUtil.getDefaultEncryptionPart(doc));
List<Reference> referenceList = sign.addReferencesToSign(parts);
Expand Down

0 comments on commit e8e5bc9

Please sign in to comment.