change java code2