This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 172370 - Refactoring does not rename overridden functions
Summary: Refactoring does not rename overridden functions
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-16 11:11 UTC by Alexandr Scherbatiy
Modified: 2009-10-02 10:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2009-09-16 11:11:08 UTC
Steps to reproduce:

- Copy the code to the editor:
-----------------------------------------------
class A{
    public function f(){        
    }
}


class B extends A{        
    public override function f(){
    }

}
-----------------------------------------------

- Refactor->Rename the 'f' function to 'g'

The overridden function is not renamed:
-----------------------------------------------------------------------------------
Main.fx:17: Function f() declared 'override' but does not override another function.
    public override function f(){
1 error
Comment 1 J Bachorik 2009-09-30 12:57:02 UTC
fixed in http://hg.netbeans.org/javafx/rev/0e43aac2cfb9
Comment 2 Alexandr Scherbatiy 2009-10-02 10:35:17 UTC
verified in netbeans-trunk-nightly-200910010513-javafx-full.zip