Skip to content

Commit

Permalink
Was mistakenly serializing the accumulator in test suite.
Browse files Browse the repository at this point in the history
  • Loading branch information
mccheah committed Jan 23, 2015
1 parent 9c6a4fa commit 8d5a091
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,10 @@ class OutputCommitCoordinatorSuite
}

@throws(classOf[IOException])
private def writeObject(out: ObjectOutputStream) {
out.writeObject(accum)
}
private def writeObject(out: ObjectOutputStream) {}

@throws(classOf[IOException])
private def readObject(in: ObjectInputStream) {
accum = in.readObject.asInstanceOf[Accumulator[Int]]
}
private def readObject(in: ObjectInputStream) {}
}

/**
Expand Down

0 comments on commit 8d5a091

Please sign in to comment.