1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-23 11:27:57 +01:00

Remove deprecated method withMasterKey from KeyRingBuilderInterface

This commit is contained in:
Paul Schaub 2021-05-30 18:05:09 +02:00
parent 19ec715461
commit ccdcd49c58
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -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 {