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.
When doing a Refactor > Change Method Parameters > Do Refactoring, the IDE should also update the javadoc automatically. It should also have a checkbox in the output window identifying that it will udpate the javadoc for the method having a change in method parameters. In addition, if you undo the Refactoring, it should also undo the javadoc update. Currently, the javadoc for a refactoring using Change Method Parameters does not change the affected method's javadoc automatically. You have to do it in a separate command or do it manually.
Changeset: d9a8f1cf9a25 Author: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Date: 2011-06-08 12:50 Message: Issue #53147 - Automatically update javadoc on Change Method Parameters > Do Refactoing
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/d9a8f1cf9a25 User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: Issue #53147 - Automatically update javadoc on Change Method Parameters > Do Refactoing
*** Bug 128036 has been marked as a duplicate of this bug. ***
Changing return type of a method from void to some type in "Change Method Parameters" refactoring window does not update javadoc, i.e. @return is not added into javadoc.
(In reply to bazi from comment #4) > Changing return type of a method from void to some type in "Change Method > Parameters" refactoring window does not update javadoc, i.e. @return is not > added into javadoc. Please create a new issue if this enhancement is not working properly. Thanks!