Skip to content

Commit

Permalink
Update common/src/main/java/org/apache/celeborn/common/network/protoc…
Browse files Browse the repository at this point in the history
…ol/TransportMessage.java

Co-authored-by: Fu Chen <[email protected]>
  • Loading branch information
FMX and cfmcgrady authored Jul 25, 2023
1 parent eab8537 commit 3716860
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public ByteBuffer toByteBuffer() {
public static TransportMessage fromByteBuffer(ByteBuffer buffer) throws CelebornIOException {
int type = buffer.getInt();
if (MessageType.forNumber(type) == null) {
throw new CelebornIOException("Decode failed,fallback to legacy messages.");
throw new CelebornIOException("Decode failed, fallback to legacy messages.");
}
int payloadLen = buffer.getInt();
byte[] payload = new byte[payloadLen];
Expand Down

0 comments on commit 3716860

Please sign in to comment.