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 241586 - Cut and paste of package-info.java doesn't change package name
Summary: Cut and paste of package-info.java doesn't change package name
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.3.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-08 21:16 UTC by kitfox
Modified: 2014-07-30 02:33 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 kitfox 2014-02-08 21:16:10 UTC
If you cut and paste a package-info.java file in the Projects window, refactoring is disabled and you have to manually change the package name in the new package.  This doesn't happen if you refactor by right clicking and selecting the Move... option.
Comment 1 Jiri Prox 2014-02-10 08:50:24 UTC
reproducible
Comment 2 Ralph Ruijs 2014-07-23 07:31:40 UTC
changeset:   27659934f779
user:        Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date:        Wed Jul 23 09:29:50 2014 +0200
summary:     #241586 - Cut and paste of package-info.java doesn't change package name
Comment 3 Quality Engineering 2014-07-30 02:33:15 UTC
Integrated into 'main-silver', will be available in build *201407300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/27659934f779
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #241586 - Cut and paste of package-info.java doesn't change package name