Bug 66282 Remove reference to getDefaultSettings and convert UI to Java conventions being the default
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileManager.java
* All keys appearing in a profile, sorted alphabetically
	 */
	private final static List fKeys;
	
	static {
	    fKeys= new ArrayList();
	    fKeys.addAll(fUIKeys);
	    fKeys.addAll(fCoreKeys);
	    Collections.sort(fKeys);
	}
	
	/**
	 * Create and initialize a new profile manager.
	 */
	public ProfileManager(List profiles) {
		fProfiles= new HashMap();
		fProfilesByName= new ArrayList();
	
		for (final Iterator iter = profiles.iterator(); iter.hasNext();) {
			final CustomProfile profile= (CustomProfile) iter.next();
			profile.setManager(this);
			fProfiles.put(profile.getID(), profile);
			fProfilesByName.add(profile);
		}
		addBuiltinProfiles(fProfiles, fProfilesByName);
		
		Collections.sort(fProfilesByName);
		
		final String id= getUIPreferenceStore().getString(PROFILE_KEY);
		fSelected= (Profile)fProfiles.get(id);