From ccdcd49c589b83671ef1bf35f4bdf1c005858156 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Sun, 30 May 2021 18:05:09 +0200 Subject: [PATCH] Remove deprecated method withMasterKey from KeyRingBuilderInterface --- .../key/generation/KeyRingBuilderInterface.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pgpainless-core/src/main/java/org/pgpainless/key/generation/KeyRingBuilderInterface.java b/pgpainless-core/src/main/java/org/pgpainless/key/generation/KeyRingBuilderInterface.java index effdfcf1..8ddaff34 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/key/generation/KeyRingBuilderInterface.java +++ b/pgpainless-core/src/main/java/org/pgpainless/key/generation/KeyRingBuilderInterface.java @@ -29,18 +29,6 @@ public interface KeyRingBuilderInterface { KeyRingBuilderInterface withSubKey(@Nonnull KeySpec keySpec); - /** - * Define the primary key spec. - * - * @deprecated use {@link #withPrimaryKey(KeySpec)} instead. - * @param keySpec key spec - * @return builder step - */ - @Deprecated - default WithPrimaryUserId withMasterKey(@Nonnull KeySpec keySpec) { - return withPrimaryKey(keySpec); - } - WithPrimaryUserId withPrimaryKey(@Nonnull KeySpec keySpec); interface WithPrimaryUserId {