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:
Dave Borowitz
2015-10-22 10:57:22 -07:00
parent 5ed11440fc
commit 6ad5d8b90d

View File

@@ -83,7 +83,7 @@ public class PublicKeyStore implements AutoCloseable {
* @param sig signature object. * @param sig signature object.
* @param data signed payload. * @param data signed payload.
* @return the key chosen from {@code keyRings} that was able to verify the * @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. * @throws PGPException if an error occurred verifying the signature.
*/ */
public static PGPPublicKey getSigner(Iterable<PGPPublicKeyRing> keyRings, public static PGPPublicKey getSigner(Iterable<PGPPublicKeyRing> keyRings,
@@ -107,7 +107,7 @@ public class PublicKeyStore implements AutoCloseable {
* @param userId user ID being certified. * @param userId user ID being certified.
* @param key key being certified. * @param key key being certified.
* @return the key chosen from {@code keyRings} that was able to verify the * @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. * @throws PGPException if an error occurred verifying the certification.
*/ */
public static PGPPublicKey getSigner(Iterable<PGPPublicKeyRing> keyRings, public static PGPPublicKey getSigner(Iterable<PGPPublicKeyRing> keyRings,