Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334159 - TaskEditorPartDescriptor should not call setPath in constructor
Summary: TaskEditorPartDescriptor should not call setPath in constructor
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.7   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-12 14:30 EST by Thomas Ehrnhoefer CLA
Modified: 2011-08-25 19:47 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Ehrnhoefer CLA 2011-01-12 14:30:07 EST
Seems like an anti-pattern. Subclasses of TaskEditorPartDescriptor could override setPath, which then is in an undefined state while the TaskEditorPartDescriptor constructor is calling it.
Comment 1 Steffen Pingel CLA 2011-08-25 19:47:38 EDT
Fixed in c6dfc2af20812c298c5d11cf1b3442c4c53c7bde. Thanks for pointing that out.