check java style before testing.