MODE-2093 Corrected Java and JavaDoc warnings and errors.