Priority
Normal
Type
Bug 
State
Fixed 
Assignee
Olesya Smirnova 
Subsystem
Code Formatting and Code Style 
Affected versions
Fixed in
Fixed in build
Next build 
Build
4247
Fixed in build
5338
Severity
0
  • Submitted by   Gilles Philippart
    3 years ago (06 Jun 2006 17:31)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:29)
  • Jira: IDEA-32325
    (history, comments)

IDEA-32325

@deprecated tags on field are removed when reformatting code

0
h4. Steps to reproduce the error

  1. - Create the following class :
{code:title=Test.java|borderStyle=solid}
public class Test {

/**
* The s property.
*
* @deprecated don't use it
*/
private String s;
}
{code}
  1. - Enable javadoc formatting in Global Code Style settings
  2. - Reformat. Notice that the tag is gone ! It seems to only happen with the @deprecated tag.

h4.Workaround
Add some text on the line just above the tag makes it stay.

NB : I have marked this issue as Extreme because it deletes an extremely important information from the code.

Environment: Windows XP

Issue was resolved
Comments (0)
 
History (1)
 
Links
 
Issue has no comments