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 89134

Summary: Misleading warning when renaming method which is overriden
Product: java Reporter: Jiri Prox <jiriprox>
Component: RefactoringAssignee: Jan Becicka <jbecicka>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Jiri Prox 2006-11-10 17:29:01 UTC
NetBeans IDE Dev (Build 061110)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b100
Windows XP version 5.1 running on x86
en_US (nb); Cp1252

Messages warning about renaming method in super class is shown when renaming
method which is beeing overriden in subclass, although there needn't to be any
super class.

Steps to reproduce:
1) have two classes:
public class SuperClass {
    public void akce() {        
    }    
}

public class SubClass extends SuperClass{
    public void akce() {
    }    
}

2) try renaming method "akce" from SuperClass
->warning:
"This method overrides or implements methods in super classes/interfaces. They
will also be renamed"
Comment 1 Jan Becicka 2008-11-11 12:06:01 UTC
Later
Comment 2 Quality Engineering 2009-11-02 11:13:39 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX