Fixed Java compiler warnings.
Merge branch 'fix_warnings'