update modify java files change newstype to string format