Fix return types of sign builders

This commit is contained in:
Paul Schaub 2022-06-09 00:46:40 +02:00
parent 6d5005660c
commit e175ee6208
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ public interface AbstractSign<T> {
*
* @return builder instance
*/
DetachedSign noArmor();
T noArmor();
/**
* Add one or more signing keys.

View file

@ -20,6 +20,6 @@ public interface InlineSign extends AbstractSign<InlineSign> {
*
* @throws sop.exception.SOPGPException.UnsupportedOption if this option is not supported
*/
DetachedSign mode(InlineSignAs mode) throws SOPGPException.UnsupportedOption;
InlineSign mode(InlineSignAs mode) throws SOPGPException.UnsupportedOption;
}