Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 334159

Summary: TaskEditorPartDescriptor should not call setPath in constructor
Product: z_Archived Reporter: Thomas Ehrnhoefer <thomas.ehrnhoefer>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: shawn.minto, steffen.pingel
Version: unspecified   
Target Milestone: 3.7   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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.