Skip to content

Commit

Permalink
Update PGPAEADDataEncryptor java doc and message in AbstractPacketTes…
Browse files Browse the repository at this point in the history
…t.isNotNull
  • Loading branch information
gefeili committed Dec 16, 2024
1 parent cd9bd33 commit 7f1af64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
/**
* A data encryptor, using AEAD.
* There are two different flavours of AEAD encryption used with OpenPGP.
* OpenPGP v5 AEAD is slightly different from v6 AEAD.
* <p>
* LibrePGP (v5) AEAD is slightly different from RFC9580 (v6) AEAD.
* {@link PGPAEADDataEncryptor} instances are generally not constructed directly, but obtained from a
* {@link PGPDataEncryptorBuilder}.
* </p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public void isNull(String message, Object value)
*/
public void isNotNull(Object value)
{
isNotNull("Value is not null.", value);
isNotNull("Value is null.", value);
}

/**
Expand Down

0 comments on commit 7f1af64

Please sign in to comment.