Fixed formatting of java source files in examples