Skip to content

Commit

Permalink
minor optimization in toString()
Browse files Browse the repository at this point in the history
  • Loading branch information
dghgit committed Oct 16, 2024
1 parent 970692d commit 8ee24c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pg/src/main/java/org/bouncycastle/bcpg/KeyIdentifier.java
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public String toString()
return "*";
}

if (getFingerprint() == null)
if (fingerprint == null)
{
return "" + keyId;
}
Expand Down

0 comments on commit 8ee24c0

Please sign in to comment.