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

Key: IDEADEV-25110
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Dmitry Jemerov
Reporter: Esko Luontola
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Rename interface method breaks code: renaming method to lowercase changes only the interface and not the implementations

Created: 24 Feb 08 14:28   Updated: 15 Jul 08 19:22
Component/s: Refactoring
Fix Version/s: Diana 8582, Selena 7.0.4

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

Build: 7,718
Fixed in build: 8,576
Severity: Medium


 Description  « Hide
Given the code
public class Test implements ITest {

    public void Foo() {
    }
}

interface ITest {
    void Foo();
}

When rename method (Shift+F6) is used on Test.Foo(), the user selects "Yes" at "Do you want to rename the base method?", and then renames the method from "Foo" to "foo", the resulting code will not compile:

public class Test implements ITest {

    public void Foo() {
    }
}

interface ITest {
    void foo();
}


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