Project: JDT
Bug 276364 [content assist] Anonymous constructor completion adds a ')' too much
Reported: 2009-05-14 14:44:22 | Status: verified fixed

I20090513-2000 Anonymous constructor completion adds a ')' too much: public class Try { void method(Runnable r) { method(new Run) } } - set prefs > Content Assist > Completion inserts - put caret after 'new Run' - content assist, choose 'Runnable() Anonymous Inner Type' => result: method(new Runnable() { public void run() { // TODO Auto-generated method stub } })) => expected: only 1 closing parenthesis at the end

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AnonymousTypeCompletionProposal.java