History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-44423
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Sergey Shkredov
Reporter: Vladimir Reshetnikov
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
ReSharper

When 'Extract method' is invoked, suggest to replace all occurences of the extracted code (similar to as introduce variable does).

Created: 28 Jun 07 15:55   Updated: 05 Feb 08 20:32
Component/s: Refactorings - Extract Method
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 468


 Description  « Hide
Before:
case "applicable-for":
                        _applicableFor = Array.AsReadOnly(_xmlReader.Value.Split(LexerUtils.Separators)); // rhs is extracted
                        continue;
                    case "cover-hotfixes":
                        _coverHotfixes = Array.AsReadOnly(_xmlReader.Value.Split(LexerUtils.Separators));
                        continue;
                    case "requires-hotfixes":
                        _requiresHotfixes = Array.AsReadOnly(_xmlReader.Value.Split(LexerUtils.Separators));
                        continue;

After:

case "applicable-for":
                        _applicableFor = SplitVersion();
                        continue;
                    case "cover-hotfixes":
                        _coverHotfixes = SplitVersion();
                        continue;
                    case "requires-hotfixes":
                        _requiresHotfixes = SplitVersion();
                        continue;


 All   Comments   Work Log   Change History      Sort Order:
Vladimir Reshetnikov - 30 Jun 07 17:54
Even if these occurences are in different methods.