mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-26 22:32:07 +01:00
Fix unsigned assignment
This commit is contained in:
parent
fc3e0a58a8
commit
770b4f9f59
1 changed files with 2 additions and 2 deletions
|
@ -209,9 +209,9 @@ public class BCUtil {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static PGPPublicKey getMasterKeyFrom(PGPKeyRing ring) {
|
public static PGPPublicKey getMasterKeyFrom(PGPKeyRing ring) {
|
||||||
Iterator<PGPPublicKey> it = ring.getPublicKeys();
|
Iterator it = ring.getPublicKeys();
|
||||||
while (it.hasNext()) {
|
while (it.hasNext()) {
|
||||||
PGPPublicKey k = it.next();
|
PGPPublicKey k = (PGPPublicKey) it.next();
|
||||||
if (k.isMasterKey()) {
|
if (k.isMasterKey()) {
|
||||||
// There can only be one master key, so we can immediately return
|
// There can only be one master key, so we can immediately return
|
||||||
return k;
|
return k;
|
||||||
|
|
Loading…
Reference in a new issue