get rid of some inspection warnings

This commit is contained in:
Vincent Breitmoser
2014-07-11 13:37:31 +02:00
parent 4da273ac16
commit 26f6d58284
4 changed files with 7 additions and 11 deletions

View File

@@ -692,6 +692,7 @@ public class PgpKeyOperation {
private static int readMasterKeyFlags(PGPPublicKey masterKey) {
int flags = KeyFlags.CERTIFY_OTHER;
//noinspection unchecked
for(PGPSignature sig : new IterableIterator<PGPSignature>(masterKey.getSignatures())) {
if (!sig.hasSubpackets()) {
continue;