reviewing java coding