[Java]: Warnings and style tidyup.