Bug 66048 Adpat JDT test cases to new code formatter defaults
I20040606 The default code formatter settings have changed to Java convention. The JDT/UI test cases must be adapted.
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/core/CodeFormatterUtilTest.java
AST ast= new AST();
		PackageDeclaration node= ast.newPackageDeclaration();
		
		String word1= "com";
		int start1= contents.indexOf(word1);
		
		String word2= ";";
		int start2= contents.indexOf(word2);		
		
		int[] positions= { start1, start1 + word1.length() - 1, start2, start2 + word2.length() - 1};
		
		String formatted= CodeFormatterUtil.format(node, contents, 0, positions, "\n", null);
		buf= new StringBuffer();
		buf.append("package com.test1;");
		String expected= buf.toString();
		assertEqualString(formatted, expected);
		
		String curr1= formatted.substring(positions[0], positions[1] + 1);
		assertEqualString(curr1, word1);
		
		String curr2= formatted.substring(positions[2], positions[3] + 1);
		assertEqualString(curr2, word2);
		
	}		
	
	public void testVarDeclStatemenetWithPos() throws Exception {
		StringBuffer buf= new StringBuffer();
		buf.append("x[ ]=\nnew  int[ offset]");
		String contents= buf.toString();