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

Key: RSRP-32955
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Andrey Simanovsky
Reporter: Adam Vandenberg
Votes: 0
Watchers: 0
Operations

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

Invalid "Make method static" refactoring

Created: 04 Dec 06 21:16   Updated: 14 Dec 06 19:49
Component/s: None
Fix Version/s: 3.0, 2.5.1
Security Level: Everybody (All jira users)

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

Build: 313
Fixed in build: 327


 Description  « Hide
This code:

class IP: BaseClass
{
...
private string GetBusinessID(Int64 id)

{ return Load<IP>(id).IPBusID; }

...
}

is incorrectly made static.
("Load" is a static method defined in BaseClass.)

Resulting method:

class IP: BaseClass
{
...
private static string GetBusinessID(IP ip, Int64 id)

{ return ip.Load(id).IPBusID; }

...
}

The "IP" parameter should not have been added in this case.

I can upload a .sln for this if you want.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.