Suggested small changes to Java code for slightly more standard style, encapsulation and in some cases performance
Merge remote-tracking branch 'upstream/master'
spark -> org.apache.spark
Issue #318 : minor style updates per review from Reynold Xin
Merge pull request #348 from prabeesh/master

spark -> org.apache.spark

Changed package name spark to org.apache.spark which was missing in some of the files
Merge pull request #318 from srowen/master

Suggested small changes to Java code for slightly more standard style, encapsulation and in some cases performance

Sorry if this is too abrupt or not a welcome set of changes, but thought I'd see if I could contribute a little. I'm a Java developer and just getting seriously into Spark. So I thought I'd suggest a number of small changes to the couple Java parts of the code to make it a little tighter, more standard and even a bit faster.

Feel free to take all, some or none of this. Happy to explain any of it.