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 237434 - Refactoring changes all Javadoc @code tags to @literal
Summary: Refactoring changes all Javadoc @code tags to @literal
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.4
Hardware: PC Windows 8 x64
: P2 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
: 237877 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-21 16:06 UTC by cnahr
Modified: 2013-11-19 11:02 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cnahr 2013-10-21 16:06:17 UTC
When a rename refactoring is requested to also update Javadoc comments, all {@code xyz} tags in all (!) Javadoc comments in all affected files are changed to {@literal xyz}, regardless of xyz or whether any refactoring takes place in that comment. Refactoring should never change @ tag names.
Comment 1 Jiri Prox 2013-10-22 10:49:02 UTC
The issue seems to be fixed in current dev build, Ralph do you have idea what fixed it?
Comment 2 Jiri Prox 2013-10-24 14:01:21 UTC
Seems that fix for issue 236795 also fixed this
Comment 3 Ralph Ruijs 2013-10-28 08:49:22 UTC
(In reply to Jiri Prox from comment #2)
> Seems that fix for issue 236795 also fixed this

Rewriting javadoc, even when it is not part of the refactoring, was fixed by 236795.

I will need to look at the first part, changing @code to @literal.
Comment 4 Ralph Ruijs 2013-10-28 11:59:04 UTC
changeset   : 14e2767230ec
author      : Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date        : Mon Oct 28 10:51:38 CET 2013
summary     : #237434 - Refactoring changes all Javadoc @code tags to @literal
Comment 5 Jiri Prox 2013-11-04 09:22:40 UTC
*** Bug 237877 has been marked as a duplicate of this bug. ***
Comment 6 Jiri Prox 2013-11-13 13:28:48 UTC
verified in trunk