From 11ad6361f85e0980ddf547519bd2c0c3b7b993c7 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Mon, 13 Sep 2021 19:36:03 +0200 Subject: [PATCH] Reformat arguments --- .../java/org/pgpainless/key/generation/KeySpecBuilder.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pgpainless-core/src/main/java/org/pgpainless/key/generation/KeySpecBuilder.java b/pgpainless-core/src/main/java/org/pgpainless/key/generation/KeySpecBuilder.java index 38e82e4e..bbc7f14a 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/key/generation/KeySpecBuilder.java +++ b/pgpainless-core/src/main/java/org/pgpainless/key/generation/KeySpecBuilder.java @@ -77,10 +77,7 @@ public class KeySpecBuilder implements KeySpecBuilderInterface { this.hashedSubPackets.setPreferredSymmetricAlgorithms(false, getPreferredSymmetricKeyAlgorithmIDs()); this.hashedSubPackets.setFeature(false, Feature.MODIFICATION_DETECTION.getFeatureId()); - return new KeySpec( - KeySpecBuilder.this.type, - hashedSubPackets, - false); + return new KeySpec(type, hashedSubPackets, false); } private int[] getPreferredCompressionAlgorithmIDs() {