Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 275370 - [toString] Generator uses wrong suffixes and prefixes
Summary: [toString] Generator uses wrong suffixes and prefixes
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.5 RC1   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-07 16:10 EDT by Mateusz Matela CLA
Modified: 2009-05-15 05:52 EDT (History)
1 user (show)

See Also:
daniel_megert: review+


Attachments
fix and test (10.88 KB, patch)
2009-05-07 16:14 EDT, Mateusz Matela CLA
markus.kell.r: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Matela CLA 2009-05-07 16:10:37 EDT
Steps To Reproduce:
When "Limit number of items..." option is selected, the maxLen variable in generated toString() method has parameter prefix and suffix appended instead of local variable ones.
Comment 1 Mateusz Matela CLA 2009-05-07 16:14:01 EDT
Created attachment 134868 [details]
fix and test
Comment 2 Dani Megert CLA 2009-05-11 05:08:54 EDT
+1 for  RC1. Make sure to update the copyright date.
Comment 3 Markus Keller CLA 2009-05-11 08:39:24 EDT
Fixed in HEAD.
Comment 4 Dani Megert CLA 2009-05-15 05:52:08 EDT
Verified in I20090514-2000.