PublicKeyStore: Use {@code null} in Javadoc
The JDK Javadocs use "null" when used as a normal English adjective,
and "{@code null}" when referring to a variable or return value
having this value. Start being a little more consistent about this.
Change-Id: I44ebde98f43696b4085c797620aec95ef9d9f35a
This commit is contained in:
@@ -83,7 +83,7 @@ public class PublicKeyStore implements AutoCloseable {
|
||||
* @param sig signature object.
|
||||
* @param data signed payload.
|
||||
* @return the key chosen from {@code keyRings} that was able to verify the
|
||||
* signature, or null if none was found.
|
||||
* signature, or {@code null} if none was found.
|
||||
* @throws PGPException if an error occurred verifying the signature.
|
||||
*/
|
||||
public static PGPPublicKey getSigner(Iterable<PGPPublicKeyRing> keyRings,
|
||||
@@ -107,7 +107,7 @@ public class PublicKeyStore implements AutoCloseable {
|
||||
* @param userId user ID being certified.
|
||||
* @param key key being certified.
|
||||
* @return the key chosen from {@code keyRings} that was able to verify the
|
||||
* certification, or null if none was found.
|
||||
* certification, or {@code null} if none was found.
|
||||
* @throws PGPException if an error occurred verifying the certification.
|
||||
*/
|
||||
public static PGPPublicKey getSigner(Iterable<PGPPublicKeyRing> keyRings,
|
||||
|
||||
Reference in New Issue
Block a user