reschke commented on code in PR #1992:
URL: https://github.com/apache/jackrabbit-oak/pull/1992#discussion_r1920132802
##########
oak-blob/src/main/java/org/apache/jackrabbit/oak/spi/blob/AbstractBlobStore.java:
##########
@@ -237,7 +244,7 @@ public String getReference(@NotNull String blobId) {
Mac mac = Mac.getInstance(ALGORITHM);
mac.init(new SecretKeySpec(getReferenceKey(), ALGORITHM));
byte[] hash = mac.doFinal(blobId.getBytes("UTF-8"));
- return blobId + ':' + BaseEncoding.base32Hex().encode(hash);
+ return ':' + BASE32ENCODER.encodeToString(hash);
Review Comment:
oh, so much for opening PRs while tests are still running, and making
last-second changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]