From 0510301aa8bd3637a7e96d2be9395008b8c0e6ce Mon Sep 17 00:00:00 2001 From: uhm0311 Date: Thu, 16 Jun 2022 20:14:40 +0900 Subject: [PATCH] CLEANUP: Comment the receivedStatus(). --- src/main/java/net/spy/memcached/ArcusClient.java | 3 ++- src/main/java/net/spy/memcached/MemcachedClient.java | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/spy/memcached/ArcusClient.java b/src/main/java/net/spy/memcached/ArcusClient.java index bfbd88f7e..a30ee8c0b 100644 --- a/src/main/java/net/spy/memcached/ArcusClient.java +++ b/src/main/java/net/spy/memcached/ArcusClient.java @@ -4063,7 +4063,7 @@ private Future> asyncCollectionInsert Operation op = opFact.collectionBulkInsert( insert, new CollectionBulkInsertOperation.Callback() { public void receivedStatus(OperationStatus status) { - + // Nothing to do here because the user MUST search the result Map instance. } public void complete() { @@ -4257,6 +4257,7 @@ private CollectionGetBulkFuture>> btreeG Operation op = opFact.bopGetBulk(getBulk, new BTreeGetBulkOperation.Callback() { @Override public void receivedStatus(OperationStatus status) { + // Nothing to do here because the user MUST search the result Map instance. } @Override diff --git a/src/main/java/net/spy/memcached/MemcachedClient.java b/src/main/java/net/spy/memcached/MemcachedClient.java index 12d1b61c6..b94129116 100644 --- a/src/main/java/net/spy/memcached/MemcachedClient.java +++ b/src/main/java/net/spy/memcached/MemcachedClient.java @@ -1143,6 +1143,7 @@ public void receivedStatus(OperationStatus status) { if (!status.isSuccess()) { getLogger().warn("Unsuccessful get: %s", status); } + // Nothing to do here because the user MUST search the result Map instance. } public void gotData(String k, int flags, byte[] data) { @@ -1278,6 +1279,7 @@ public void receivedStatus(OperationStatus status) { if (!status.isSuccess()) { getLogger().warn("Unsuccessful gets: %s", status); } + // Nothing to do here because the user MUST search the result Map instance. } public void gotData(String k, int flags, long cas, byte[] data) {