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 135314 - [Extract superclass][Extract interface] Extracting empty class
Summary: [Extract superclass][Extract interface] Extracting empty class
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Becicka
Depends on:
Reported: 2008-05-19 13:45 UTC by Jiri Prox
Modified: 2010-09-23 08:43 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2008-05-19 13:45:42 UTC
Product Version: NetBeans IDE Dev (Build 20080519042647)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb)

It would be useful sometimes to extract only empty superclass/interface. Now the dialog won't allow refactoring if no
elements are selected.
It is easier to use extract refactoring for it than going to New Class wizard, creating new class and adding
extends/implements clause to original class.