From af91703884d000ff8006c15931efb0004f95d755 Mon Sep 17 00:00:00 2001 From: brido4125 Date: Fri, 29 Mar 2024 10:03:33 +0900 Subject: [PATCH] FIX: Change BKeyObject constructor in BopGetResultImpl --- .../net/spy/memcached/internal/result/BopGetResultImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/spy/memcached/internal/result/BopGetResultImpl.java b/src/main/java/net/spy/memcached/internal/result/BopGetResultImpl.java index 1af33d549..ad87bca0f 100644 --- a/src/main/java/net/spy/memcached/internal/result/BopGetResultImpl.java +++ b/src/main/java/net/spy/memcached/internal/result/BopGetResultImpl.java @@ -52,7 +52,7 @@ public Map> getDecodedValue() { CachedData cachedData = entry.getValue(); if (isByteBKey) { temp.put(bKey, BTreeUtil.makeBTreeElement( - new BKeyObject((ByteArrayBKey) bKey), cachedData, transcoder)); + new BKeyObject(((ByteArrayBKey) bKey).getBytes()), cachedData, transcoder)); } else { temp.put(bKey, BTreeUtil.makeBTreeElement( new BKeyObject((Long) bKey), cachedData, transcoder));