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.
Replace constructor with builder refactoring does not check if the file, which should be generated, exists and it simply rewrites the file. Step to reproduce: 1) have class with two constructors 2) call Replace constructor with builder on 1st one (keep defaults) 3) call it on the second one (keep defaults) -> the class generated at step 2 is rewritten! Product Version: NetBeans IDE Dev (Build 201202130400) Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02 System: Windows 7 version 6.1 running on x86; Cp1250; en_US (nb) User directory: C:\Users\jprox\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\jprox\AppData\Local\NetBeans\Cache\dev
Changeset: 3ca9dfd74291 Author: Jan Becicka <jbecicka@netbeans.org> Date: 2012-02-14 16:49 Message: Issue #208397 - [Replace constructor with builder] Does not check existence of generated file
v.