summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.gpg.bc
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2023-10-05 16:46:21 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2023-10-06 01:35:22 +0200
commit5705e2af139e6ee019b2234dd07c65980481d0e8 (patch)
tree76dc8e9f993753f8add3e5198c44914c186c14b6 /org.eclipse.jgit.gpg.bc
parent790fa7e81d6d039c8e399dc859d1624739eecf5d (diff)
downloadjgit-5705e2af139e6ee019b2234dd07c65980481d0e8.tar.gz
jgit-5705e2af139e6ee019b2234dd07c65980481d0e8.zip
[errorprone] Fix InconsistentCapitalization
See https://errorprone.info/bugpattern/InconsistentCapitalization Change-Id: Ibd71a992128ca2e5f916a08dd11da67c5a2f8aad
Diffstat (limited to 'org.eclipse.jgit.gpg.bc')
-rw-r--r--org.eclipse.jgit.gpg.bc/src/org/eclipse/jgit/gpg/bc/internal/BouncyCastleGpgKeyLocator.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jgit.gpg.bc/src/org/eclipse/jgit/gpg/bc/internal/BouncyCastleGpgKeyLocator.java b/org.eclipse.jgit.gpg.bc/src/org/eclipse/jgit/gpg/bc/internal/BouncyCastleGpgKeyLocator.java
index d7bf34e3ac..e9032a81fd 100644
--- a/org.eclipse.jgit.gpg.bc/src/org/eclipse/jgit/gpg/bc/internal/BouncyCastleGpgKeyLocator.java
+++ b/org.eclipse.jgit.gpg.bc/src/org/eclipse/jgit/gpg/bc/internal/BouncyCastleGpgKeyLocator.java
@@ -551,7 +551,7 @@ public class BouncyCastleGpgKeyLocator {
* Return the first suitable key for signing in the key ring collection. For
* this case we only expect there to be one key available for signing.
*
- * @param signingkey
+ * @param signingKeyName
* the signing key
* @param secringFile
* the secring file
@@ -562,7 +562,7 @@ public class BouncyCastleGpgKeyLocator {
* @throws PGPException
* on BouncyCastle errors
*/
- private PGPSecretKey findSecretKeyInLegacySecring(String signingkey,
+ private PGPSecretKey findSecretKeyInLegacySecring(String signingKeyName,
Path secringFile) throws IOException, PGPException {
try (InputStream in = newInputStream(secringFile)) {
@@ -570,7 +570,7 @@ public class BouncyCastleGpgKeyLocator {
PGPUtil.getDecoderStream(new BufferedInputStream(in)),
new JcaKeyFingerprintCalculator());
- String keyId = toFingerprint(signingkey).toLowerCase(Locale.ROOT);
+ String keyId = toFingerprint(signingKeyName).toLowerCase(Locale.ROOT);
Iterator<PGPSecretKeyRing> keyrings = pgpSec.getKeyRings();
while (keyrings.hasNext()) {
PGPSecretKeyRing keyRing = keyrings.next();