Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.

Public Report
Report From: JBuilder/Editor    [ Add a report in this area ]  
Report #:  27173   Status: Open
BTJC code audit does not retain its settings
Project:  JBuilder Build #:  12.0.203.0
Version:    12 Submitted By:   Gillmer Derge
Report Type:  Basic functionality failure Date Reported:  4/10/2006 9:04:53 AM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   239716
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
The "Bad Tag in Javadoc Comments (BTJC)" code audit does not retain its settings properly.  Exiting JBuilder causes any added tags to be lost.
Steps to Reproduce:
1. Enable all code audits.

    a. Project | Project Properties... menu item
    b. "Code Audits" page
    c. <Select All>
    d. <OK>

2. Create a javadoc comment that includes a non-standard tag, such as @todo.

  package junk;
  /**
    * @todo something
    */
  public class Foo {
  }

// Warning: Bad tag '@todo' in Javadoc Comment at line 3 (3:1)

3. Add @todo as a custom tag.

    a. Project | Project Properties... menu item
    b. "Code Audits" page
    c. Documentation / Bad Tag in Javadoc Comments tree node
    d. Allowed tags: <Edit...>
    e. <Add>
    f. Properties: @todo
    g. <OK>
    h. <OK>

4. Modify the code (add a space somewhere)

// Warning is gone (though not until the code is modified)

5. Restart JBuilder

// exp: Warning is still gone
// act: Warning is back
Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01