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 - 'Replace constructor with factory' allows me to continue although there is method with same name
Summary: 'Replace constructor with factory' allows me to continue although there is me...
Status: RESOLVED DUPLICATE of bug 221959
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-01 09:35 UTC by ssazonov
Modified: 2013-08-05 11:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
img_01 (49.77 KB, image/png)
2013-08-01 09:35 UTC, ssazonov
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***