History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-6239
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Olesya Smirnova
Reporter: Gilles Philippart
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

@deprecated tags on field are removed when reformatting code

Created: 06 Jun 06 17:31   Updated: 17 Jun 06 15:42
Component/s: Code Formatting and Code Style
Fix Version/s: 5.1.2, Demetra Final

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Windows XP
Issue Links:
Duplicate
 
This issue is duplicated by:
IDEABKL-2180 @deprecated tag in field documenation... Resolved

Build: 4,247
Fixed in build: 5,338
Severity: Extreme


 Description  « Hide

Steps to reproduce the error

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

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.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.