This is an automated email from the ASF dual-hosted git repository.
technoboy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new fd0dd655576 [fix][doc] Fix typos in doc for MessageCryptoBc class
(#21403)
fd0dd655576 is described below
commit fd0dd655576f952f1b4472f2555e532c086c5aa0
Author: hanmz <[email protected]>
AuthorDate: Fri Dec 8 18:50:12 2023 +0800
[fix][doc] Fix typos in doc for MessageCryptoBc class (#21403)
---
.../main/java/org/apache/pulsar/client/impl/crypto/MessageCryptoBc.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/pulsar-client-messagecrypto-bc/src/main/java/org/apache/pulsar/client/impl/crypto/MessageCryptoBc.java
b/pulsar-client-messagecrypto-bc/src/main/java/org/apache/pulsar/client/impl/crypto/MessageCryptoBc.java
index 5778b0701a4..cbb704de138 100644
---
a/pulsar-client-messagecrypto-bc/src/main/java/org/apache/pulsar/client/impl/crypto/MessageCryptoBc.java
+++
b/pulsar-client-messagecrypto-bc/src/main/java/org/apache/pulsar/client/impl/crypto/MessageCryptoBc.java
@@ -564,7 +564,7 @@ public class MessageCryptoBc implements
MessageCrypto<MessageMetadata, MessageMe
if (storedSecretKey != null) {
// Taking a small performance hit here if the hash collides.
When it
- // retruns a different key, decryption fails. At this point,
we would
+ // returns a different key, decryption fails. At this point,
we would
// call decryptDataKey to refresh the cache and come here
again to decrypt.
if (decryptData(storedSecretKey, msgMetadata, payload,
targetBuffer)) {
// If decryption succeeded, we can already return