Bug 356163 - [quick fix] Quick fix "Add parameter" ignores overrides
Summary: [quick fix] Quick fix "Add parameter" ignores overrides
Status: CLOSED DUPLICATE of bug 160212
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-30 03:27 EDT by Aaron Digulla CLA
Modified: 2011-09-01 08:41 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Digulla CLA 2011-08-30 03:27:37 EDT
Take this code:

class A {
    void foo() {
        bar();
    }
    void bar() {}
}

class B extends A {
    void bar() {}
}

Now change foo:

    void foo() {
        bar(1); // add new parameter
    }

Use the quick fix to add "int i" to "bar()" in A.

B.bar() should change as well.
Comment 1 Olivier Thomann CLA 2011-08-30 13:33:58 EDT
Moving to JDT/UI
Comment 2 Markus Keller CLA 2011-09-01 08:41:10 EDT

*** This bug has been marked as a duplicate of bug 160212 ***