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 100306 - [Move Inner To Outer Level] Move Inner does not return a warning when the type named already exists in the package
Summary: [Move Inner To Outer Level] Move Inner does not return a warning when the typ...
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-08 00:48 UTC by kely_garcia
Modified: 2009-11-02 11:15 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 kely_garcia 2007-04-08 00:48:05 UTC
Build ID: 200609161800 (Netbeans 6.0 M3)

Move Inner Class To Outer Level should return a warning when the type named 
already exists in the package. 
Steps to reproduce:
Move Inner Class 'Inner' on the following:  
package p;
class A{
	class Inner{
	}
}
class Inner {
}

yields the following refactored class Inner:
package p;
class Inner{
}
Comment 1 Jan Becicka 2007-04-23 09:41:10 UTC
Move Inner To Outer Level not implemented in 6.0 so far.
Comment 2 Daniel Prusa 2008-02-15 13:45:08 UTC
Reproducible only when there are more top-level classes in one source file, the check for name clash is performed
against file objects names. Decreasing priority to P4.
Comment 3 David Strupl 2009-03-31 15:56:16 UTC
Resolving all issues with milestone "future" as LATER. If you feel strongly that
it should be implemented please reopen and set the target milestone to "next".
Comment 4 Quality Engineering 2009-11-02 11:15:05 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX