changed java formatting conventions