apache/incubator-spark — pull request #75 by JoshRosen (2013-10-18 21:50:06+00:00)
Title: Code de-duplication in BlockManager

The BlockManager has a few methods that duplicate most of their code. This pull request extracts the duplicated code into private doPut(), doGetLocal(), and doGetRemote() methods that unify the storing/reading of bytes or objects.

I believe that I preserved the logic of the original code, but I'd appreciate some help in reviewing this.