Consider this code:

import java.util.ArrayList;
public class Test {
    public static void test(ArrayList list1, ArrayList list2) {
        // Nothing
    }
    public void test2(ArrayList list1) {
        test(|)
    }
}

When I press ctrl-shift-space in test(|), I immediately get "list1".

When I press ctrl-shift-space again, for the second parameter, I get two 
suggestions:  "list1: ArrayList" and "ArrayList: new java.util.ArrayList()".

Why do I get different suggestions?  And isn't "ArrayList: new 
java.util.ArrayList()" in the wrong order (considering that otherwise 
you always show the expression to be inserted on the left and the type 
on the right side)?



_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to