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 223017 - [Inspect & Transform] The scope is not changed if the dialog was refreshed
Summary: [Inspect & Transform] The scope is not changed if the dialog was refreshed
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
: 214134 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-11-29 22:28 UTC by Jiri Prox
Modified: 2013-01-04 16:24 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 2012-11-29 22:28:22 UTC
The scope of the inspect&transform is not set correctly if the action is invoked from the reopened dialog.

Steps to reproduce:
1) have a project with two packages, in each package there is single class with some incorrect code (e.g. assignment replaceable with operator
2) select some package and call I&T (the scope is set to selected package)
->  the one occurrence is found
3) press refresh button
4) change the scope to the whole project
5) run the inspection

-> the second occurrence of the problem is not found


Product Version: NetBeans IDE Dev (Build 201211260002)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b15
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev
Comment 1 Jan Lahoda 2012-12-03 19:43:23 UTC
Attempting to initialize the dialog twice is definitely not a good idea:
http://hg.netbeans.org/jet-main/rev/6dc9eadbf68c
Comment 2 Quality Engineering 2012-12-04 03:17:19 UTC
Integrated into 'main-golden', will be available in build *201212040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6dc9eadbf68c
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #223017: initialize the dialog only once.
Comment 3 Jan Lahoda 2013-01-04 16:24:26 UTC
*** Bug 214134 has been marked as a duplicate of this bug. ***