Bug 95908 - [5.0][content assist] toarray template inserted as content assist method argument guess
Summary: [5.0][content assist] toarray template inserted as content assist method argu...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 RC2   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-19 04:54 EDT by Markus Keller CLA
Modified: 2005-06-09 08:37 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2005-05-19 04:54:47 EDT
from bug 95785:

N20050518-0010

- 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
    }

=> the line now reads:
        aList.toArray(toarray - convert collection to array)
Comment 1 Tom Hofmann CLA 2005-05-27 03:08:20 EDT
Propose to not offer 'toarray' as a parameter guess for 3.1
Comment 2 Dani Megert CLA 2005-05-27 03:57:10 EDT
Approving for RC2.
Comment 3 Tom Hofmann CLA 2005-06-07 10:30:09 EDT
fixed by removing the toarray proposal guess.
Comment 4 David Saff CLA 2005-06-09 07:11:46 EDT
Verified in N20050609-0010.  Tom, please update state to VERIFIED
Comment 5 Tom Hofmann CLA 2005-06-09 08:37:02 EDT
.