Title:
Bug 82777:Currently all generated setters return void, which seems like a real waste
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Brett Suwyn / Brett Suwyn (WF Software)
Created: 04/29/2010
Components: Language, CF Component
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 / 276300
Priority/Frequency: Normal / Unknown
Locale/System: English / Platforms All
Vote Count: 1
Problem:
Currently all generated setters return void, which seems like a real waste. Can we change this behavior so that the component object is returned instead?That way we can chain our setters and our code would be less verbose:user.setFirstName("Brett").setLastName("Suwyn");thanks!
Method:
Result:
Useless return values on setters.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3041390
Deployment Phase: Release Candidate
External Customer Info:
External Company:
External Customer Name: Brett Suwyn
External Customer Email: 1E736C5744AAE692992016B7
External Test Config: 04/29/2010
Attachments:
Comments: