Bug 43850 QuickAssist with linked mode has wrong default selection [quick assist]
I20030925 QuickAssist with linked mode has a default selection which is NOT the inserted (and green underlined) proposal. This is annoying, since it prevents quick acceptance with <Enter>. class X { public void foo(int jott) { } } - cursor on 'jott', Ctrl+1 - choose 'Assign parameter to new field' -> 'jott' is inserted in the editor, but 'i' is selected and inserted on <Enter> It's most probably a typo in LinkedModeProposal, line 101: "// keep first entry at first position Arrays.sort(res, 0, ..." should be "Arrays.sort(res, 1, ..."
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LinkedCorrectionProposal.java
}
				ImageDescriptor descriptor= JavaElementImageProvider.getTypeImageDescriptor(binding.isInterface(), binding.isMember(), binding.getModifiers());
				return JavaPlugin.getImageDescriptorRegistry().get(descriptor);
			}
			return null;
		}
	
		/* (non-Javadoc)
		 * @see org.eclipse.jdt.ui.text.java.IJavaCompletionProposal#getRelevance()
		 */
		public int getRelevance() {
			return 0;
		}		
	
		/* (non-Javadoc)
		 * @see org.eclipse.jface.text.contentassist.ICompletionProposal#apply(org.eclipse.jface.text.IDocument)
		 */
		public void apply(IDocument document) {
			
		}
		public Point getSelection(IDocument document) { return null; }
		public String getAdditionalProposalInfo() { return null; }
		public IContextInformation getContextInformation() { return null; }
		public void selected(ITextViewer viewer, boolean smartToggle) {}
		public void unselected(ITextViewer viewer) {}
		public boolean validate(IDocument document, int offset, DocumentEvent event) { return false;}
	}
	
}