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 253925

Summary: [81cat][refactoring]Warning message is wrong in Safely delete of packages operation
Product: qa Reporter: manikantannaren <manikantannaren>
Component: Test SpecificationsAssignee: Jiri Prox <jiriprox>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description manikantannaren 2015-07-29 03:03:05 UTC
Java Refactoring Sanity test (http://services.netbeans.org/synergy/client/app/#/specification/316/v/2)
Delete Test suite (http://services.netbeans.org/synergy/client/app/#/suite/1798)
Delete Project Test case (http://services.netbeans.org/synergy/client/app/#/case/5128/suite/1798/v/1)

Steps to reproduce

1. Select package and from context menu choose Refactor->Safely Delete
2. In the dialog press Refactor
3. Inspect the warning dialog

Expected Result
The message in the warning dialog should read "Overriding or implementing methods of selected elements were found."

Actual Result
The message in the warning dialog reads - "References to selected elements were found. Remove all references to these elements in order to safely delete your class."
Comment 1 Ralph Ruijs 2015-07-29 06:07:40 UTC
Change was introduced by #171662 in NetBeans 8.1

The previous warning was wrong, there is only one usage in supertype.ClassB which is relevant.
Comment 2 Jiri Prox 2015-08-13 07:31:50 UTC
Test specification was updated