make keyring and pubkeyring final again

This commit is contained in:
Christoph Sturm 2019-08-14 18:02:11 +02:00
parent 5579c3019e
commit 98328fd2f8
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ import javax.annotation.Nullable;
@EqualsAndHashCode
@Slf4j
@Singleton
public class KeyRing {
public final class KeyRing {
private final KeyPair signatureKeyPair;
private final KeyPair encryptionKeyPair;
private final PubKeyRing pubKeyRing;

View file

@ -42,7 +42,7 @@ import javax.annotation.Nullable;
@Slf4j
@EqualsAndHashCode
@Getter
public class PubKeyRing implements NetworkPayload, UsedForTradeContractJson {
public final class PubKeyRing implements NetworkPayload, UsedForTradeContractJson {
private final byte[] signaturePubKeyBytes;
private final byte[] encryptionPubKeyBytes;
@Nullable