Updated the java style for checkstyle