Bug 15407 quick fix: removes too many temps (multi declaration case)
20020502+ package p; class Test{ int i(){ int i= 0, jjj= 1; return i; } } jjj is not used to qf offers to remove it. i say 'fine' but it leaves me in a state with compiler errors: class Test{ int i(){ return i; } }
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/JavaCorrectionProcessor.java
* Constructor for JavaCorrectionProcessor.
	 */
	public JavaCorrectionProcessor(IEditorPart editor) {
		fEditor= editor;
	}
	/*
	 * @see IContentAssistProcessor#computeCompletionProposals(ITextViewer, int)
	 */
	public ICompletionProposal[] computeCompletionProposals(ITextViewer viewer, int documentOffset) {
		
		IWorkingCopyManager manager= JavaPlugin.getDefault().getWorkingCopyManager();
		ICompilationUnit cu= manager.getWorkingCopy(fEditor.getEditorInput());
		
		IDocumentProvider provider= JavaPlugin.getDefault().getCompilationUnitDocumentProvider();
		IAnnotationModel model= provider.getAnnotationModel(fEditor.getEditorInput());
		ArrayList proposals= new ArrayList();
		HashSet idsProcessed= new HashSet();
		
		if (model != null) {
			for (Iterator iter= new ProblemAnnotationIterator(model); iter.hasNext();) {
				IProblemAnnotation annot= (IProblemAnnotation) iter.next();
				Position pos= model.getPosition((Annotation) annot);
				if (pos != null) {
					int start= pos.getOffset();
					if (documentOffset >= start && documentOffset <= (start +  pos.getLength())) {
						Integer probId= new Integer(annot.getId());
						if (!idsProcessed.contains(probId)) {
							ProblemPosition pp = new ProblemPosition(pos, annot, cu);
							idsProcessed.add(probId);
							collectCorrections(pp, proposals);