reformat code to "java" style