Skip to content

Commit 2edbeb5

Browse files
committed
OAK-11399: Remove usage of Guava io.BaseEncoding
1 parent 2a8aa92 commit 2edbeb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oak-blob/src/main/java/org/apache/jackrabbit/oak/spi/blob/AbstractBlobStore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public String getReference(@NotNull String blobId) {
244244
Mac mac = Mac.getInstance(ALGORITHM);
245245
mac.init(new SecretKeySpec(getReferenceKey(), ALGORITHM));
246246
byte[] hash = mac.doFinal(blobId.getBytes("UTF-8"));
247-
return ':' + BASE32ENCODER.encodeToString(hash);
247+
return blobId + ':' + BASE32ENCODER.encodeToString(hash);
248248
} catch (NoSuchAlgorithmException e) {
249249
throw new IllegalStateException(e);
250250
} catch (InvalidKeyException e) {

0 commit comments

Comments
 (0)