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

Bug 486124

Summary: [quickfix] Provide fix for no-self-assign
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: 11.0   
Hardware: All   
OS: All   
Whiteboard:

Description Michael Rennie CLA 2016-01-19 11:21:52 EST
We should provide a quickfix for the no-self-assign rule.

The fix should likely just remove the assignment (since it is superfluous).
Comment 1 Michael Rennie CLA 2016-01-19 12:53:28 EST
Fix + tests:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=e148ff48554cde0b34f17bee0456ad8e455f5b0b

I also provided a second fix to rename the RHS of the assignment (in case the self assign was a typo and the dev just wants to quickly rename it).