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 - Misleading warning when renaming method which is overriden
Summary: Misleading warning when renaming method which is overriden
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-10 17:29 UTC by Jiri Prox
Modified: 2009-11-02 11:13 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 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