reformatted all java code so that a uniform policy is applied