Index: formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java =================================================================== RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java,v retrieving revision 1.41 diff -u -r1.41 DefaultCodeFormatter.java --- formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java 27 May 2004 14:41:39 -0000 1.41 +++ formatter/org/eclipse/jdt/internal/formatter/DefaultCodeFormatter.java 3 Jun 2004 18:33:12 -0000 @@ -36,7 +36,7 @@ private CodeSnippetParsingUtil codeSnippetParsingUtil; public DefaultCodeFormatter() { - this(new DefaultCodeFormatterOptions(DefaultCodeFormatterConstants.getDefaultSettings()), null); + this(new DefaultCodeFormatterOptions(DefaultCodeFormatterConstants.getJavaConventionsSettings()), null); } public DefaultCodeFormatter(DefaultCodeFormatterOptions preferences) { @@ -49,7 +49,7 @@ this.preferences = new DefaultCodeFormatterOptions(options); } else { this.options = JavaCore.getOptions(); - this.preferences = new DefaultCodeFormatterOptions(DefaultCodeFormatterConstants.getDefaultSettings()); + this.preferences = new DefaultCodeFormatterOptions(DefaultCodeFormatterConstants.getJavaConventionsSettings()); } this.defaultCompilerOptions = getDefaultCompilerOptions(); if (defaultCodeFormatterOptions != null) { Index: model/org/eclipse/jdt/core/JavaCore.java =================================================================== RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java,v retrieving revision 1.412 diff -u -r1.412 JavaCore.java --- model/org/eclipse/jdt/core/JavaCore.java 27 May 2004 09:44:55 -0000 1.412 +++ model/org/eclipse/jdt/core/JavaCore.java 3 Jun 2004 18:33:15 -0000 @@ -2393,7 +2393,7 @@ optionNames.add(CORE_ENCODING); // Formatter settings - Map codeFormatterOptionsMap = DefaultCodeFormatterConstants.getDefaultSettings(); // code formatter defaults + Map codeFormatterOptionsMap = DefaultCodeFormatterConstants.getJavaConventionsSettings(); // code formatter defaults for (Iterator iter = codeFormatterOptionsMap.entrySet().iterator(); iter.hasNext();) { Map.Entry entry = (Map.Entry) iter.next(); String optionName = (String) entry.getKey();