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

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
img_01 (36.12 KB, image/png)
2013-08-01 09:19 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:19:03 UTC
Created attachment 138108 [details]
img_01

I tried to execute test specification:

http://wiki.netbeans.org/TS_74_Refactoring4

According to:

<Test suite: Replace constructor with factory - 5. Subclass>

The refactoring cannot continue, since there is call super(double) in the subclass

> refactor allows me to make this operation (no warning occures) and an error occures 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:41:05 UTC

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