Community
Participate
Working Groups
N20050518-0010 (also with HEAD of JDT/UI and JDT/Core) - have 'Fill argument names on completion' and 'Guess filled method arguments' enabled - in the method below (in a 5.0 project), execute contant assist after toArray and choose "toArray(Object[] a)": public void test(java.util.List aList){ aList.toArray } => There's not javadoc for this method => the line now reads: aList.toArray(toarray - convert collection to array) - changing the parameter type to List<Object> splits the proposal in two and emits a beep when the proposals are inserted: - toArray(T[]) T[] - Collection - toArray(T[]) T[] - List => Expected: only the one from List is proposed; no beep.
1) missing additional info - fix is ready for 20050519 2) toarray template added as first proposal, beep - keeping this PR for this issue 3) toArray proposed twice: filed bug 95829 against jdt-core.
>1) missing additional info >- fix is ready for 20050519 Approving fix for 1) for RC1: adapting summary: Markus, you know the rules ;-) one PR per report, especially know where we must have a PR with the correct target milestone and an approval. Please file a separate bug report for the beep issue.
Sorry, filed bug 95908 for 2).
I propose to not propose the toArray template at all as it is not that helpful anyway.
Tom, doesn't your comment 4 belong to bug 95908? I find the toArray proposal very helpful in general, just not in that context.
yes, you're right of course. I just meant to not propose 'toarray' as a parameter guess. The normal template will not be affected.
fixed for RC1
start verifying.
Verified 1) in 3.1 RC1.