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 236923

Summary: [Rename field] Unnecessary warning when renaming field hiding another field
Product: java Reporter: Jiri Prox <jiriprox>
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description Jiri Prox 2013-10-09 08:39:27 UTC
When applying 'Rename field' hint, which is provided when field hides another field, the rename refactoring is invoked. But on the first panel there is waring that the field hides another field.
IMHO this warning is redundant in this use case, since the user already knows this fact. That's why he tied to apply this hint. 


Product Version: NetBeans IDE 7.4 (Build 201310012201)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b14
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\jprox\AppData\Roaming\NetBeans\7.4
Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\7.4
Comment 1 Martin Balin 2016-07-07 07:18:40 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss