Skip to content

Commit

Permalink
Modified BufferMessage.scala to keep the spark code style
Browse files Browse the repository at this point in the history
  • Loading branch information
sarutak committed Jul 29, 2014
1 parent 9dfd0d8 commit ee91bb7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ class BufferMessage(id_ : Int, val buffers: ArrayBuffer[ByteBuffer], var ackId:
}
buffer.position(buffer.position + newBuffer.remaining)
val newChunk = new MessageChunk(new MessageChunkHeader(
typ, id, size, newBuffer.remaining, ackId, hasError, security, senderAddress), newBuffer)
typ, id, size, newBuffer.remaining, ackId,
hasError, security, senderAddress), newBuffer)
gotChunkForSendingOnce = true
return Some(newChunk)
}
Expand Down

0 comments on commit ee91bb7

Please sign in to comment.