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
*/
	public BuildPathAction(IWorkbenchSite site, BuildActionSelectionContext context) {
		super();
		fSite= site;
		fContext= context;
		fCurrentSelection= StructuredSelection.EMPTY;
	}
	
	private Shell getShell() {
		return fSite.getShell();
	}
	/*
	 * The reason why the operation is not passed as parameter in the 
	 * constructor is this: the operation needs an information provider 
	 * as parameter in its contructor. In this case, the BuildPathAction 
	 * implements the provider for the operation. Therefore, it is not 
	 * possible to pass the operation to the action before the action itself 
	 * was created.
	 */
	/**
	 * Set the operation for this action. This method has to be called right 
	 * after having initialized this class. 
	 * 
	 * @param operation the operation to be used in this action
	 * @param imageDescriptor the image descriptor for the icon
	 * @param disabledImageDescriptor the image descriptor for the disabled icon
	 * @param text the text to be set as label for the action
	 * @param tooltip the text to be set as tool tip
	 */
	public void initialize(ClasspathModifierOperation operation, ImageDescriptor imageDescriptor, ImageDescriptor disabledImageDescriptor, String text, String tooltip) {