Bug 5095 - template: toarray incorrect
Summary: template: toarray incorrect
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Claude Knaus CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-19 06:02 EDT by Adam Kiezun CLA
Modified: 2001-10-19 08:17 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 Adam Kiezun CLA 2001-10-19 06:02:24 EDT
its defintion should be:
(${type}[]) ${collection}.toArray(new ${type}[${collection}.size()]);
rather than
(${type}[]) ${collection}.toArray(new ${type}[${collection}]);
Comment 1 Claude Knaus CLA 2001-10-19 08:17:29 EDT
fixed > 205