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 121896 - [Pull Up] [Push Down] Necessary import are not added when moving interface
Summary: [Pull Up] [Push Down] Necessary import are not added when moving interface
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Max Sauer
URL:
Keywords:
Depends on:
Blocks: 152192
  Show dependency tree
 
Reported: 2007-11-14 12:01 UTC by Jiri Prox
Modified: 2009-03-06 09:22 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 2007-11-14 12:01:50 UTC
Product Version: NetBeans IDE 6.0 RC1 (Build 200711140000)
Java: 1.6.0_05-ea; Java HotSpot(TM) Client VM 1.6.0_05-ea-b06
System: Linux version 2.6.5-1.358 running on i386; UTF-8; en_US (nb)

Import is not added to target file when moving interface from implements clause.

Steps to reproduce:
1) have two classes C1 implementing Serializable, and C2 extending C1
2) push down Serializable interface
-> import is not added to C2
Comment 1 Max Sauer 2009-03-04 13:31:34 UTC
Fixed. Please verify.
---
http://hg.netbeans.org/jet-main/rev/f270e6fa95cb
Comment 2 Quality Engineering 2009-03-06 09:22:53 UTC
Integrated into 'main-golden', will be available in build *200903060201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f270e6fa95cb
User: Max Sauer <msauer@netbeans.org>
Log: #121896: [Pull Up] [Push Down] Necessary import are not added when moving interface