Skip to content
Snippets Groups Projects
Commit 25a276dd authored by WangTao's avatar WangTao Committed by Reynold Xin
Browse files

Delete the val that never used

It seems that the val "startTime" and "endTime" is never used, so delete them.

Author: WangTao <barneystinson@aliyun.com>

Closes #553 from WangTaoTheTonic/master and squashes the following commits:

4fcb639 [WangTao] Delete the val that never used
parent a24d918c
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,6 @@ private[spark] class BlockMessage() {
}
def set(buffer: ByteBuffer) {
val startTime = System.currentTimeMillis
/*
println()
println("BlockMessage: ")
......@@ -100,7 +99,6 @@ private[spark] class BlockMessage() {
data.flip()
}
val finishTime = System.currentTimeMillis
}
def set(bufferMsg: BufferMessage) {
......@@ -115,7 +113,6 @@ private[spark] class BlockMessage() {
def getLevel: StorageLevel = level
def toBufferMessage: BufferMessage = {
val startTime = System.currentTimeMillis
val buffers = new ArrayBuffer[ByteBuffer]()
var buffer = ByteBuffer.allocate(4 + 4 + id.name.length * 2)
buffer.putInt(typ).putInt(id.name.length)
......@@ -153,7 +150,6 @@ private[spark] class BlockMessage() {
println()
println()
*/
val finishTime = System.currentTimeMillis
Message.createBufferMessage(buffers)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment