Bug 111338 [implementation] new option causing error in org.eclipse.ui.editors
I picked up N20051001-0010 and it looks like a new compiler preference has added a compile error to org.eclipse.ui.editors. From my problems view: Severity Description Resource In Folder Location Creation Time Id 2 Unnecessary cast from Object to IEncodingSupport AbstractDecoratedTextEditor.java org.eclipse.ui.editors/src/org/eclipse/ui/texteditor line 348 October 3, 2005 10:32:56 AM 7034 PW
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/BuildPathAction.java
/**
	 * Return an <code>IFolderCreationQuery</code>.
	 * 
	 * @see ClasspathModifierQueries#getDefaultFolderCreationQuery(Shell, Object)
	 * @see IClasspathInformationProvider#getFolderCreationQuery()
	 */
	public IFolderCreationQuery getFolderCreationQuery() {
		IStructuredSelection selection= getSelection();
		return ClasspathModifierQueries.getDefaultFolderCreationQuery(getShell(), selection.getFirstElement());
	}
	/**
	 * Get a query to create a linked source folder.
	 * 
	 * @see ILinkToQuery
	 * @see org.eclipse.jdt.internal.corext.buildpath.IClasspathInformationProvider
	 */
	public ILinkToQuery getLinkFolderQuery() throws JavaModelException {
		return ClasspathModifierQueries.getDefaultLinkQuery(getShell(), fJavaProject, fJavaProject.getOutputLocation().makeRelative());
	}
	/**
	 * Get a query to create a linked source folder.
	 * 
	 * @see IRemoveLinkedFolderQuery
	 * @see org.eclipse.jdt.internal.corext.buildpath.IClasspathInformationProvider
	 */
	public IRemoveLinkedFolderQuery getRemoveLinkedFolderQuery() throws JavaModelException {
		return ClasspathModifierQueries.getDefaultRemoveLinkedFolderQuery(getShell());
	}
	/**
	 * Return an <code>IAddArchivesQuery</code>.