Community
Participate
Working Groups
Snippet: public class Class { public void overloadedFunction(Boolean b) { } public void overloadedFunction(String str) { } public void function(){ Object i; overloadedFunction(i); //Check the quick fix here } } The quick fix at overloadedFunction(i) suggests to cast 'i' to Boolean only. It should also provide a quick fix to cast it to String.
(In reply to comment #0) > > The quick fix at overloadedFunction(i) suggests to cast 'i' to Boolean only. It > should also provide a quick fix to cast it to String. Yep. It only shows the first one.
*** This bug has been marked as a duplicate of bug 361601 ***