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 127385 - Copy class w/o refactoring changes package statement
Summary: Copy class w/o refactoring changes package statement
Status: RESOLVED DUPLICATE of bug 180227
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
: 127982 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-14 12:47 UTC by Jiri Prox
Modified: 2011-10-11 14:57 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 2008-02-14 12:47:35 UTC
Product Version: NetBeans IDE Dev (Build 20080214091453)
Java: 1.6.0-ea; Java HotSpot(TM) Client VM 11.0-b06
System: Linux version 2.6.5-1.358 running on i386; UTF-8; en_US (nb)
Userdir: /space/u6

Copy class w/o refactoring action changes package statement to match target package. User would expect the class won't
be change when the "Without refactoring" checkbox is selected, as it works with move class action.
Comment 1 Jiri Prox 2008-02-21 13:00:26 UTC
It also changes the class name if the target package is the same as original package
Comment 2 Jiri Prox 2008-02-21 13:02:29 UTC
*** Issue 127982 has been marked as a duplicate of this issue. ***
Comment 3 Jan Becicka 2011-10-11 14:57:33 UTC

*** This bug has been marked as a duplicate of bug 180227 ***