Bug 129530 [quick fix] remove curly brackets should have least relevance
20060227 Using quick fix on the 'for' of public class A { void f(List<? extends Number> x){ for (Iterator<? extends Number> iter = x.iterator(); iter.hasNext();) { Number num = iter.next(); //do stuff }} } has 'remove curly brackets' as first option. It should always be last (or second last in this example)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
} catch (CoreException exception) {
					JavaPlugin.log(exception);
				} finally {
					if (stream != null) {
						try {
							stream.close();
						} catch (IOException exception) {
							JavaPlugin.log(exception);
						}
					}
				}
				final FixDeprecationRefactoringWizard wizard= new FixDeprecationRefactoringWizard(context.getCompilationUnit(), node.getStartPosition(), node.getLength());
				final WizardDialog dialog= new WizardDialog(JavaPlugin.getActiveWorkbenchShell(), wizard);
				if (history != null && !history.isEmpty())
					wizard.setRefactoringHistory(history);
				dialog.create();
				dialog.getShell().setSize(Math.max(SIZING_WIZARD_WIDTH, dialog.getShell().getSize().x), SIZING_WIZARD_HEIGHT);
				PlatformUI.getWorkbench().getHelpSystem().setHelp(dialog.getShell(), IJavaHelpContextIds.FIX_DEPRECATION_WIZARD_PAGE);
				dialog.getShell().getDisplay().asyncExec(new Runnable() {
					public final void run() {
						dialog.showPage(wizard.getNextPage(wizard.getStartingPage()));
					}
				});
				dialog.open();
			}
			public final String getAdditionalProposalInfo() {
				return CorrectionMessages.QuickAssistProcessor_fix_deprecation_info;
			}
		};
		resultingCollections.add(proposal);