Squashing some Java warnings

Less Java warnings would make this library a much better citizen in Eclipse...right now all of its warnings drown out potentially serious warnings from my own code.