mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-09 18:29:39 +02:00
Various code cleanup
This commit is contained in:
parent
39686949d2
commit
ce7b69269b
55 changed files with 182 additions and 194 deletions
|
@ -41,7 +41,7 @@ public class GenerateKeyImpl implements GenerateKey {
|
|||
}
|
||||
|
||||
@Override
|
||||
public Ready generate() throws SOPGPException.MissingArg, SOPGPException.UnsupportedAsymmetricAlgo, IOException {
|
||||
public Ready generate() throws SOPGPException.MissingArg, SOPGPException.UnsupportedAsymmetricAlgo {
|
||||
Iterator<String> userIdIterator = userIds.iterator();
|
||||
if (!userIdIterator.hasNext()) {
|
||||
throw new SOPGPException.MissingArg("Missing user-id.");
|
||||
|
|
|
@ -25,7 +25,7 @@ import sop.operation.Verify;
|
|||
|
||||
public class VerifyImpl implements Verify {
|
||||
|
||||
ConsumerOptions options = new ConsumerOptions();
|
||||
private final ConsumerOptions options = new ConsumerOptions();
|
||||
|
||||
@Override
|
||||
public Verify notBefore(Date timestamp) throws SOPGPException.UnsupportedOption {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue