updating java files to remove compiler warnings and raw generics (where possible)
Merge pull request #1 from jlgrock/master

Fixing Compiler Warnings