String formatted= CodeFormatterUtil.format(CodeFormatterUtil.K_COMPILATION_UNIT, contents, 1, null, "\n", null);
String formatted= CodeFormatterUtil.format(CodeFormatter.K_COMPILATION_UNIT, contents, 1, null, "\n", null);
	public void testCUIndented() throws Exception {		StringBuffer buf= new StringBuffer();		buf.append("package test1;\n");		buf.append("public class A {\n");		buf.append("    public void foo() {\n");		buf.append("    Runnable run= new Runnable() {};\n");		buf.append("    }\n");		buf.append("}\n");		String contents= buf.toString();					String formatted= CodeFormatterUtil.format(CodeFormatterUtil.K_COMPILATION_UNIT, contents, 1, null, "\n", null);		buf= new StringBuffer();		buf.append("    package test1;\n");		buf.append("    public class A {\n");		buf.append("        public void foo() {\n");		buf.append("            Runnable run = new Runnable() {\n");		buf.append("            };\n");			buf.append("        }\n");		buf.append("    }\n");		String expected= buf.toString();		assertEqualString(formatted, expected);	}	