From 6ad5d8b90d12147028a93a047fbbcb7c8552b5b4 Mon Sep 17 00:00:00 2001 From: Dave Borowitz Date: Thu, 22 Oct 2015 10:57:22 -0700 Subject: [PATCH] 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 --- .../src/main/java/com/google/gerrit/gpg/PublicKeyStore.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gerrit-gpg/src/main/java/com/google/gerrit/gpg/PublicKeyStore.java b/gerrit-gpg/src/main/java/com/google/gerrit/gpg/PublicKeyStore.java index 8f614d7dc8..3d939a1f61 100644 --- a/gerrit-gpg/src/main/java/com/google/gerrit/gpg/PublicKeyStore.java +++ b/gerrit-gpg/src/main/java/com/google/gerrit/gpg/PublicKeyStore.java @@ -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 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 keyRings,