Github user PepperJo commented on a diff in the pull request:

    https://github.com/apache/incubator-crail/pull/6#discussion_r170300042
  
    --- Diff: rpc/src/main/java/org/apache/crail/rpc/RpcRequestMessage.java ---
    @@ -81,24 +87,27 @@ public int write(ByteBuffer buffer) {
                        buffer.putInt(type.getLabel());
                        buffer.putInt(storageClass);
                        buffer.putInt(locationClass);
    -                   written += 12;
    +                   buffer.putInt(enumerable ? 1 : 0);
    +                   written += 16;
    --- End diff --
    
    Make "16" a final static int constant. Can be also reused in CSIZE above.


---

Reply via email to