Bug 122501 [typing][content assist] Extra bracket gets generated as shown: System.out.println() )
In the Java IDE, after typing out System.out.println( and pressing SPACEBAR, on a fresh line, generates System.out.println() ) This happens only when the content-assist window pops up. On trying to edit the line again, the problem does not show up, as long as the content-assist window is not up again.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaMethodCompletionProposal.java
buffer.append(fProposal.getName());
		FormatterPrefs prefs= getFormatterPrefs();
		if (prefs.beforeOpeningParen)
			buffer.append(SPACE);
		buffer.append(LPAREN);
		
		if (hasParameters()) {
			setCursorPosition(buffer.length());
			
			if (prefs.afterOpeningParen)
				buffer.append(SPACE);
			
			
		} else {
			if (prefs.inEmptyList)
				buffer.append(SPACE);
		}
		buffer.append(RPAREN);
		return buffer.toString();
	}
	/**
	 * See https://bugs.eclipse.org/bugs/show_bug.cgi?id=120542
	 */
	private boolean isEmptyConstructorProposal() {
		char[] completion= fProposal.getCompletion();
		return completion.length == 1 && completion[0] == ')';
	}
	
	protected ProposalInfo computeProposalInfo() {
		IJavaProject project= fInvocationContext.getProject();