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.
1. Create a new java class, say Person.java The below is the created class ------------------- /** * Person.java * * @purpose * * @see * * @author K Adithyan * * @created Jan 11, 2014 8:53:04 PM */ package javacode.test; public class Person { } ------------------ 2. Pls note some header template is configured in my netbeans 3. Now click Person string in class header and click Refactor -> Rename 4. Type Person2 and press enter 5. Now, the editor shows the below file --------- /** * Person.java * * @purpose * * @see * * @author K Adithyan * * @created Jan 11, 2014 8:53:04 PM *//** * Person.java * * @purpose * * @see * * @author K Adithyan * * @created Jan 11, 2014 8:53:04 PM */ package javacode.test; public class Person2 { } --------- 6. Pls notice that the header text is duplicated some how. 7. This happens to method name re-factoring also. My platform details are given below Product Version: NetBeans IDE Dev (Build 201401070002) Updates: Updates available Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 2.6.32-431.3.1.el6.i686 running on i386; UTF-8; en_US (nb) User directory: /root/.netbeans/dev Cache directory: /root/.cache/netbeans/dev
*** This bug has been marked as a duplicate of bug 239849 ***