api/java/src/main/java/com/navercorp/redis/cluster/connection/RedisProtocol.java
private static List<Object> processMultiBulkReply(final RedisInputStream is) {
        int num = Integer.parseInt(is.readLine());
        log.trace("[RedisProtocol] Reply multi-bulk-reply. *{}", num);
        if (num == -1) {
            return null;
        }
        List<Object> ret = new ArrayList<Object>(num);
        for (int i = 0; i < num; i++) {
            try {
                ret.add(process(is));
            } catch (JedisDataException e) {
                ret.add(e);
            }
        }
        return ret;
    }
private static List<Object> processMultiBulkReply(final RedisInputStream is) {
        int num = Integer.parseInt(is.readLine());
        log.trace("[RedisProtocol] Reply multi-bulk-reply. *{}", num);
        if (num == -1) {
            return null;
        }
        List<Object> ret = new ArrayList<Object>(num);
        for (int i = 0; i < num; i++) {
            try {
                ret.add(process(is));
            } catch (JedisDataException e) {
                ret.add(e);
            }
        }
        return ret;
    }
private static List < Object > processMultiBulkReply ( final RedisInputStream is ) { int num = Integer . parseInt ( is . readLine ( ) ) ; log . trace ( "[RedisProtocol] Reply multi-bulk-reply. *{}" , num ) ; if ( num == - 1 ) { return null ; } List < Object > ret = new ArrayList < Object > ( num ) ; for ( int i = 0 ; i < num ; i ++ ) { try { ret . add ( process ( is ) ) ; } catch ( JedisDataException e ) { ret . add ( e ) ; } } return ret ; }
Process multi bulk reply.

@param is the is
@return the list
Process multi bulk reply .