Change code style to java