ninsmiracle commented on code in PR #1104:
URL: https://github.com/apache/incubator-pegasus/pull/1104#discussion_r951071861
##########
java-client/src/main/java/org/apache/pegasus/client/PegasusTable.java:
##########
@@ -1672,14 +1731,18 @@ public int batchDel2(List<Pair<byte[], byte[]>> keys,
List<PException> results,
@Override
public void multiDel(byte[] hashKey, List<byte[]> sortKeys, int timeout)
throws PException {
if (timeout <= 0) timeout = defaultTimeout;
- int count = sortKeys == null ? 0 : sortKeys.size();
+ int count = sortKeys == null ? -1 : sortKeys.size();
Review Comment:
There are nothing special meaning,just to keep consistent with other codes
and -1 meaning invalid.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]