Fixing some deprecation warnings in Spark source code

The attachment should fix some of the deprecation warnings I got using Eclipse to compile the trunk build.

–Tobbi
ResolveWarnings.diff.zip (628 Bytes)