| Summary: | cleanup code duplication between this and BugzillaTaskEditor | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Frank Becker <eclipse> | ||||
| Component: | Mylyn | Assignee: | Robert Elves <robert.elves> | ||||
| Status: | RESOLVED DUPLICATE | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | mjmeijer | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Frank Becker
Created attachment 83272 [details]
mylyn/context/zip
I noticed the same thing when working on bug 161646: support for Clone this bug. Here we have a conflict between 'Replace conditional logic with polymorphism' and the 'duplicated code' smell ;-0 Also see bug 179254: [api] AbstractRepositoryTaskEditor needs to be decomposed That one is scheduled for 3.0 > The reason for this is that I don't know if it is allow to put Bugzilla specific code in AbstractRepositoryTaskEditor. I think that is not a very good idea. Thank you for the comments. Yes, Bugzilla specific code should only go into the editor implementation that is part of the Bugzilla connector. As Maarten has pointed out we will review the current editor implementation for the 3.0 cycle and plan to do a larger refactoring of the code. For now it is okay to duplicate code to maintain API backwards compatibility as long as this is noted in a comment. Let's track suggestions for improvements to the current architecture on bug 179254 . *** This bug has been marked as a duplicate of bug 179254 *** |