Community
Participate
Working Groups
I20050627-1435 public class Try { { new A().call(new /*content assist here*/) } } interface I { void call(Runnable r); } class A implements I{ public void call(Runnable r) {} } I get the proposal for "Runnable - java.lang" twice. When I add a third declaration of call(Runnable) to the hierarchy of A, then I get three duplicate proposals. This might be related to the problem from bug 95829.
This problem is not related to bug 95829. The same type is added twice in CompletionEngine#expectedTypes.
Created attachment 72568 [details] Proposed fix
Released for 3.4M1. Test added: CompletionTests#testCompletionEmptyTypeName4() Duplicate expected types are now filtered.
Verified for 3.4M1 using build I20070802-0800.