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 233762

Summary: 'Replace constructor with factory' allows me to continue although there is method with same name
Product: java Reporter: ssazonov
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: img_01

Description ssazonov 2013-08-01 09:35:32 UTC
Created attachment 138109 [details]
img_01

I tried to execute test specification:

http://wiki.netbeans.org/TS_74_Refactoring4

According to:

[Test suite: Replace constructor with factory - 10. Name check]

EXPECTED RESULT: There is warning that the method create() already exists

> refactor allows me to continue (no warning occurs) so it makes errors in code (see img_01)


Product Version: NetBeans IDE Dev (Build 201307312300)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b03
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b34
System: Linux version 3.8.0-19-generic running on amd64; UTF-8; en_US (nb)
Comment 1 Jiri Prox 2013-08-05 11:15:03 UTC

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