Clean up of Java messages and Sonar warnings on the api project.
44 files changed